taxonomylist.html.twig 422 B

12345678
  1. {% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
  2. {% if taxlist %}
  3. {% for tax,value in taxlist[taxonomy] %}
  4. {% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
  5. <a class="label {{ label_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
  6. {% endfor %}
  7. {% endif %}