taxonomylist.html.twig 411 B

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