{# Customized from taxonomylist plugin #} {% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %} {% set limit = 20 %} {# show only the first x items #} {% set treshold = 1 %} {# at least this number of times used #} {% if taxlist %} {% set i = 0 %} {% for tax,value in taxlist[taxonomy] if (((limit is not defined) or (i < limit)) and (treshold is not defined or (value >= treshold))) %} {% set active = uri.param(taxonomy) == tax? 'active' : '' %} {{ tax }} ({{ value }}) {% set i = i + 1 %} {% endfor %} {% endif %}