From 048bf7d9b57d2fa67b772d51325a02d35b00bdbf Mon Sep 17 00:00:00 2001 From: mose Date: Thu, 31 Aug 2017 08:03:19 +0800 Subject: [PATCH] fix on display of post authors --- _layouts/post.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_layouts/post.html b/_layouts/post.html index be5ef67..b7f40b8 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -27,7 +27,11 @@ layout: default {% include meta_info.html %} {% endunless %} {% if page.authors %} -
Par {{ page.authors }}
+
Par + {% for author in page.authors %} + {{ author }}{% unless forloop.last %}, {% endunless %} + {% endfor %} +
{% endif %} {{ content }}