diff options
Diffstat (limited to 'gum/templates/article.html')
-rw-r--r-- | gum/templates/article.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gum/templates/article.html b/gum/templates/article.html index 15188d0..f050118 100644 --- a/gum/templates/article.html +++ b/gum/templates/article.html @@ -18,9 +18,11 @@ <abbr class="published" title="{{ article.date.isoformat() }}"> {{ article.locale_date }} </abbr> - {% if article.author %} - <address class="vcard author"> - By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> + {% if article.authors %} + <address class="vcard author">By + {% for author in article.authors|sort %} + <a class="url fn" href="{{ SITEURL }}/{{ author.url }}"> {{ author }}</a> + {% endfor %} </address> {% endif %} </footer><!-- /.post-info --> |