{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %} {% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %} {% import _self as macro %} {% if taxlist %}
{% set active = uri.param(taxonomy) == tax? 'active' : '' %} {% for tax,value in taxlist[taxonomy] %} {% set active = uri.param(taxonomy) == tax? 'active' : '' %} {% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %} {% endfor %}
{% if page.template == 'archive' %}
{% elseif page.template == 'calendrier' %}
{% endif %}
{% endif %}