{% if categories is not empty %} {% if settings.catalog.categories.structure == 'pages' %}
{% for category in categories %} {% if category.images %} {% if settings.catalog.categories.display == 'column' and settings.catalog.categories.buttons.separator.enabled %}
{% endif %} {{ category.name }} {% endif %}

{{ category.name }}{% if category.description %} {{ category.description }}{% endif %}

{% endfor %}
{% elseif settings.catalog.categories.structure == 'lists' %} {% macro generate(structure, categories) %} {% for category, descendants in structure %} {% if descendants is empty %}
  • {{ categories[category].name }}
  • {% else %}
  • {{ categories[category].name }} {% if settings.catalog.categories.buttons.lists.arrow %} {% endif %}
  • {% endif %} {% endfor %} {% endmacro %}
    {% if structure is not empty %} {% endif %}
    {% endif %} {% endif %}