1234567891011121314151617 |
- {% set taxlist = taxonomylist.get() %}
- {% if taxlist %}
- <ul class="tags">
- {% for tag,value in taxlist[taxonomy] %}
- {% set active = uri.param(taxonomy) == tag ? ' active' : '' %}
- <li class="{{ active }}">
- <a
- class="tag-{{ catlist[(tag|e('url'))] }}{{ active }}"
- data-filter="{{ tag|replace({'|': "-", " " : ""}) }}"
- href="{{ base_url }}#{{ tag|replace({'|': "-", " " : ""}) }}">
- <span>{{ tag }}</sapn>
- </a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
|