Tagy a kategorie na konci receptu mají odkaz
This commit is contained in:
parent
63acf1d002
commit
99110deeb1
@ -30,7 +30,7 @@
|
|||||||
<div>
|
<div>
|
||||||
Kategorie –
|
Kategorie –
|
||||||
{% 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 –
|
Tagy –
|
||||||
{% 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…
Reference in New Issue
Block a user