<span class="filter filter-category-{{ tag.category }}">
<a href="{% catalogue_url view.list_type tags tag %}">{{ tag }}</a>
</span>
<span class="filter filter-category-{{ tag.category }}">
<a href="{% catalogue_url view.list_type tags tag %}">{{ tag }}</a>
</span>