Gum: Fix tag URLs not being slugified (and therefore broken)

This commit is contained in:
Chris Howie
2013-07-15 20:56:12 +00:00
parent 68d249c543
commit 3a2d7adcd4

View File

@@ -33,7 +33,7 @@
{% if tags %} {% if tags %}
<ul> <ul>
{% for tag in tag_cloud %} {% for tag in tag_cloud %}
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0|string|replace(" ", "-" )|lower }}.html">{{ tag.0 }}</a></li> <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
@@ -50,4 +50,4 @@
</nav> </nav>
{% endif %} {% endif %}
</div> </div>