{% spaceless %} {% load catalogue_tags %}
{% for initial, object_list in names %} {% if initial_blocks %}
{% endif %} {% if initial %}

{{ initial }}

{% endif %} {% for item in object_list %}

{{ item }}{% if item.count %} ({{ item.count}}){% endif %}

{% endfor %} {% if initial_blocks %}
{% endif %} {% endfor %}
{% endspaceless %}