2023-01-10 20:03:24 +01:00
|
|
|
{% if page.url == base_url ~ "/events" %}
|
|
|
|
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get()|filter(page => page.header.event.start is defined) %}
|
|
|
|
{% else %}
|
|
|
|
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
|
|
|
|
{% endif %}
|
2023-01-10 16:09:01 +01:00
|
|
|
|
2023-01-10 20:04:36 +01:00
|
|
|
{{ page.url }}
|
|
|
|
{{ base_url }}
|
2023-01-10 20:05:54 +01:00
|
|
|
{{ base_url ~ "/events" }}
|
2023-01-10 16:09:01 +01:00
|
|
|
{% if taxlist %}
|
|
|
|
<span class="tags">
|
|
|
|
{% for tax,value in taxlist[taxonomy] %}
|
|
|
|
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
|
|
|
|
<a class="label label-rounded {{ label_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</span>
|
|
|
|
{% endif %}
|