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

View File

@ -131,7 +131,7 @@
{% if article.tags %} {% if article.tags %}
<div class="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> </div>
{% endif %} {% endif %}