diff options
Diffstat (limited to 'pelican-bootstrap3/templates')
-rw-r--r-- | pelican-bootstrap3/templates/includes/taglist.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pelican-bootstrap3/templates/includes/taglist.html b/pelican-bootstrap3/templates/includes/taglist.html index bcaa470..f71ddcd 100644 --- a/pelican-bootstrap3/templates/includes/taglist.html +++ b/pelican-bootstrap3/templates/includes/taglist.html @@ -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 %} |