|
@@ -29,7 +29,7 @@ All tags used in the {{ SITENAME|striptags }} blog.
|
|
|
{% for tag, articles in tags|sort %}
|
|
|
<li>
|
|
|
{% set num = articles|count %}
|
|
|
- <a href="{{ SITEURL }}/tags.html#{{ tag|replace(' ', '-')|e }}-ref">{{ tag }}<span>{{ num }}</span></a>
|
|
|
+ <a href="{{ SITEURL }}/tags.html#{{ tag.slug }}-ref">{{ tag }}<span>{{ num }}</span></a>
|
|
|
</li>
|
|
|
{% endfor %}
|
|
|
</ul>
|
|
@@ -39,7 +39,7 @@ All tags used in the {{ SITENAME|striptags }} blog.
|
|
|
<div class="row-fluid">
|
|
|
<div class="span8 offset2">
|
|
|
{% for tag, articles in tags|sort %}
|
|
|
- <h2 id="{{ tag|replace(' ', '-')|e }}-ref" class="tag-title">{{ tag }}</h2>
|
|
|
+ <h2 id="{{ tag.slug }}-ref" class="tag-title">{{ tag }}</h2>
|
|
|
<ul class="articles-in-tag">
|
|
|
{% for article in articles|sort(reverse = true, attribute = 'date') %}
|
|
|
<li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }} {%if article.subtitle %} <small> {{ article.subtitle }} </small> {% endif %} </a></li>
|