{# build taxo tags (categories) ids array #} {% set taxlist = taxonomylist.get() %} {% if taxlist %} {% set catlist = {} %} {% set id = 1 %} {% for tax,value in taxlist['tag'] %} {% set catlist = catlist|merge({ (tax|e('url')) : (id) }) %} {% set id = id + 1 %} {% endfor %} {% endif %}
{% block head %} {% if header.description %} {% else %} {% endif %} {% if header.robots %} {% endif %}