diff --git a/_layouts/post.html b/_layouts/post.html index b7f40b8..7e0e8d7 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -28,8 +28,8 @@ layout: default {% endunless %} {% if page.authors %}
Par - {% for author in page.authors %} - {{ author }}{% unless forloop.last %}, {% endunless %} + {% for author in page.authors %}{% assign found = false %} + {% for page in site.pages %}{% if page.title == author %} {{ author }}{% assign found = true %}{% endif %}{% endfor %}{% unless found %}{{ author }}{% endunless %}{% unless forloop.last %}, {% endunless %} {% endfor %}
{% endif %}