Merge pull request #42 from lynix/master
article: Remove trailing comma from tag list
This commit is contained in:
commit
d091ce695b
@ -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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user