Sha256: a49c301026065fd4b898ef8c13e29e12269c2d475d71997a4dd0569dc7a949f4

Contents?: true

Size: 249 Bytes

Versions: 23

Compression:

Stored size: 249 Bytes

Contents

{% if include.article.authorId %}
  {% assign author = site.people | where_exp:"item","item.uid contains include.article.authorId" | first %}
  <a href={{author.url}}>
    {{author.name}}
  </a>
{% else %}
  {{ include.article.author }}
{% endif %}

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
jekyll-theme-pirati-8.0.0.pre.alpha3 _includes/articles/author.html
jekyll-theme-pirati-8.0.0.pre.alpha2 _includes/articles/author.html
jekyll-theme-pirati-8.0.0.pre.alpha1 _includes/articles/author.html