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

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