Display categories and tags in menu
parent
cdb2ca82ed
commit
fc249504d1
@ -0,0 +1,10 @@
|
||||
{% macro list_taxonomy(title, kind) %}
|
||||
<span class="title">{{ title }}</span>
|
||||
<ul>
|
||||
{% set tags = get_taxonomy(kind=kind) %}
|
||||
{% for term in tags.items %}
|
||||
<li class="item"><a href="{{ term.permalink | safe }}">{{ term.name |capitalize }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endmacro list_categories %}
|
||||
|
Loading…
Reference in New Issue