{% macro render_items(items, depth = 0, show_counts = false) %} {% endmacro %} {% for type in grouped_content %}

{{ type.label }} {% if show_counts %} ({{ type.items|length }}) {% endif %}

{{ _self.render_items(type.items, 0) }} {% endfor %}