This commit is contained in:
Daniel Hladek 2020-10-03 10:04:46 +02:00
parent 1630708714
commit f42504d49f

View File

@ -55,7 +55,7 @@
{% if page.taxonomy.category|length > 0 %} {% if page.taxonomy.category|length > 0 %}
{% set categorylist = [] %} {% set categorylist = [] %}
{% for category in page.taxonomy.category %} {% for category in page.taxonomy.category %}
{% set categorylist = categorylist|merge(['<a href="'~base_url~'/taxonomy?name=category&amp;val='~(category|url_encode)~'">'~category~'</a>']) %} {% set categorylist = categorylist|merge(['<a href="'~base_url~'/categories/'~(category|url_encode)~'">'~category~'</a>']) %}
{% endfor %} {% endfor %}
<div class="cagtegories"> <div class="cagtegories">
<i class="fa fa-tags rightpad"></i>{{ categorylist|join(', ') }} <i class="fa fa-tags rightpad"></i>{{ categorylist|join(', ') }}