{%- block styles %} {%- endblock %} {% macro category_items(category) %} {% set heading_level = category.depth + 1 %} {# set item_label = category.label ~ ' - ' ~ category.item_count if category.item_count > 0 else category.label #} {% set item_label = category.label %}
{{ item_label }} {%- if category.description %}

{{ category.description }}

{%- endif %} {%- if category.subcategories|length > 0 %}
{%- for key in category.subcategories %} {{ category_items(category.subcategories[key]) }} {%- endfor %}
{%- endif %}
{%- endmacro %}
{{ header }}
{% for key in categories %} {{ category_items(categories[key]) }} {%- endfor %}
{%- block scripts %} {%- endblock %}