taxonomylist.html.twig 359 B

12345678910
  1. {% set taxlist = 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|e('url') }}">{{ tax }}</a>
  7. {% endfor %}
  8. </span>
  9. {% endif %}