{% set taxlist = taxonomylist.get() %}

{% if taxlist %}
<ul class="tags">
    {% for tag,value in taxlist[taxonomy] %}
        {% set active = uri.param(taxonomy) == tag ? ' active' : '' %}
        {% if not loop.first and display == "inline" %}
        <span>-</span>
        {% endif %}
        <li class="{{ active }}">
          <a
            class="tag-{{ catlist[(tag|e('url'))] }}{{ active }}"
            href="{{ base_url }}{{ taxonomy }}{{ config.system.param_sep }}{{ tag|e('url') }}">
              <span>{{ tag }}</sapn>
          </a>
        </li>
    {% endfor %}
</ul>
{% endif %}
