{{ page.extra.author }}
+ {% if author %} +{{ author.title }}
+ {% endif %}diff --git a/templates/partials/postCard.html b/templates/partials/postCard.html index c32252d05..06d074fea 100644 --- a/templates/partials/postCard.html +++ b/templates/partials/postCard.html @@ -1,3 +1,8 @@ +{% if post.taxonomies.people %} + {% set author_path = 'people/' ~ post.taxonomies.people[0] ~ '/index.md' %} + {% set author = get_page(path=author_path) %} +{% endif %} +