{% if category.collection.visible %} {% with children=category.children.all %} {% if not region_name %}
{% if category.parent %} {{ category.parent.name }} {% else %} {{ category.collection.name }} {% endif %} {% if children %} {% endif %}
{% endif%} {% endwith %} {% endif %}