{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %} {% if taxlist %} {% for tax,value in taxlist[taxonomy] %} {% set active = uri.param(taxonomy) == tax? 'active' : '' %} {{ tax }} {% endfor %} {% endif %}