aboutsummaryrefslogtreecommitdiff
path: root/templates/article.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/article.html')
-rw-r--r--templates/article.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/article.html b/templates/article.html
index 7ecdef9..415fe5d 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -14,6 +14,12 @@
<a href="{{ SITEURL }}/{{ article.category.url }}">
{{ article.category.name }}
</a>
+ {% if DISPLAY_ARTICLE_AUTHORS %}
+ by
+ {% for author in article.authors %}
+ <a href="{{ SITEURL }}/{{ author.url }}">{{ author.name }}</a>{% if not loop.last %}, {% endif %}
+ {% endfor %}
+ {% endif %}
</p>