From 6d8b9cc7dcd832bbc968ca323e3fa57656c6c60c Mon Sep 17 00:00:00 2001 From: Alexander Koch Date: Tue, 12 Apr 2016 19:42:59 +0200 Subject: [PATCH] article: Remove trailing comma from tag list Remove trailing ', ' from the tag list in the article template. --- templates/article.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/article.html b/templates/article.html index 862a3b1..c5dc9dc 100755 --- a/templates/article.html +++ b/templates/article.html @@ -131,7 +131,7 @@ {% if article.tags %}
-

tags: {% for tag in article.tags %}{{ tag | escape }}, {% endfor %}

+

tags: {% for tag in article.tags %}{{ tag | escape }}{% if not loop.last %}, {% endif %}{% endfor %}

{% endif %}