article: Remove trailing comma from tag list

Remove trailing ', ' from the tag list in the article template.
This commit is contained in:
Alexander Koch 2016-04-12 19:42:59 +02:00
parent 8c8d421dbf
commit 6d8b9cc7dc
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@
{% if article.tags %}
<div class="tags">
<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag | escape }}</a>, {% endfor %}</p>
<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag | escape }}</a>{% if not loop.last %}, {% endif %}{% endfor %}</p>
</div>
{% endif %}