{% set maxTabs = 6 %} {% set maxCols = 6 %} {% set maxTaxons = 6 %} {% set activeTaxons = taxons|filter(t => t.enabled) %} {% set firstCategories = activeTaxons|slice(0, maxTabs) %} {# ▼▼ Version Desktop ▼▼ #}

Catégories

{% for cat in firstCategories %}

{% set children = cat.children|filter(c => c.enabled) %} {% for childTaxon in children %}

{{ childTaxon.name }}

{% endfor %}
{% endfor %}