1
4
Fork 1

Tagy a kategorie na konci receptu mají odkaz

master
Emil Miler 5 years ago
parent 63acf1d002
commit 99110deeb1

@ -30,7 +30,7 @@
<div> <div>
Kategorie &ndash; Kategorie &ndash;
{% for term in categories %} {% 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 %} {% endfor %}
</div> </div>
{% endif %} {% endif %}
@ -40,7 +40,7 @@
<div> <div>
Tagy &ndash; Tagy &ndash;
{% for term in tags %} {% 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 %} {% endfor %}
</div> </div>
{% endif %} {% endif %}

Loading…
Cancel
Save