{% if CYCLOPE_THEME_TYPE == 'bootstrap' %} {% if category.collection.visible %} {% with children=category.children.all %} {% if category.parent %}
  • {{ category.parent.name }}
  • {% else %}
  • {{ category.collection.name }}
  • {% endif %} {% if children %}
      {% for child in children %}
    1. {{ child.name }}
    2. {% endfor %}
    {% endif %} {% endwith %} {% endif %} {% elif CYCLOPE_THEME_TYPE == 'classic' %} {% 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 %} {% endif %}