Fix build failing if taxonomy is set to anything other than "tags" (fixes #126)
This does not fix other issues however, notably links still point to /tags, and it's displayed as tags in the UI.
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<ul class="tags">
|
<ul class="tags">
|
||||||
{%- for tag in terms -%}
|
{%- for tag in terms -%}
|
||||||
<li><a href="{{ get_taxonomy_url(kind='tags', name=tag.name, lang=lang) }}"><span class="tag">{{ tag.name }}</span><span class="count">{{ tag.pages | length }}</span></a></li>
|
<li><a href="{{ current_url }}{{ tag.slug }}"><span class="tag">{{ tag.name }}</span><span class="count">{{ tag.pages | length }}</span></a></li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Reference in New Issue
Block a user