Merge pull request #42 from lynix/master

article: Remove trailing comma from tag list
This commit is contained in:
Gilson Filho 2016-04-27 10:00:34 -03:00
commit d091ce695b
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 %}