made article tag separator configurable via TAG_LIST_SEPARATOR
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
{% if article.tags %}
|
||||
<span class="label label-default">Tags</span>
|
||||
{% for tag in article.tags %}
|
||||
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
||||
{% if not loop.last %}
|
||||
/
|
||||
{% if TAG_LIST_SEPARATOR is not defined %}
|
||||
{% set TAG_LIST_SEPARATOR = "/" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<span class="label label-default">Tags</span>
|
||||
{% for tag in article.tags %}
|
||||
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
||||
{% if not loop.last %}
|
||||
{{ TAG_LIST_SEPARATOR }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user