Tagy a kategorie na konci receptu mají odkaz

This commit is contained in:
Emil Miler 2020-01-15 11:03:13 +01:00
parent 63acf1d002
commit 99110deeb1

View File

@ -30,7 +30,7 @@
<div>
Kategorie &ndash;
{% for term in categories %}
<span class="tag"><a href="">{{ term | capitalize() }}</a></span>
<span class="tag"><a href="{{ get_taxonomy_url(kind="kategorie", name=term) | safe }}">{{ term | capitalize() }}</a></span>
{% endfor %}
</div>
{% endif %}
@ -40,7 +40,7 @@
<div>
Tagy &ndash;
{% for term in tags %}
<span class="tag"><a href="">{{ term | capitalize() }}</a></span>
<span class="tag"><a href="{{ get_taxonomy_url(kind="tagy", name=term) | safe }}">{{ term | capitalize() }}</a></span>
{% endfor %}
</div>
{% endif %}