fix on display of post authors

This commit is contained in:
mose 2017-08-31 08:03:19 +08:00
parent 1de691a02a
commit 048bf7d9b5

View file

@ -27,7 +27,11 @@ layout: default
{% include meta_info.html %}
{% endunless %}
{% if page.authors %}
<div class="authors">Par {{ page.authors }}</div>
<div class="authors">Par
{% for author in page.authors %}
{{ author }}{% unless forloop.last %}, {% endunless %}
{% endfor %}
</div>
{% endif %}
{{ content }}