{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}

{% if taxlist %}
<ul class="tags">
    {% for tax,value in taxlist[taxonomy] %}
        {% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
            <a href="{{ base_url}}/projets/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">
              <li>
                {{ tax }}
              </li>
            </a>
    {% endfor %}
</ul>
{% endif %}
