neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-10 20:13:33 +01:00
parent 7d750b2fa4
commit 407986fa00

View File

@ -1,12 +1,14 @@
{% if page.url == base_url ~ "/events" %}
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags()|filter(page => page.header.event.start is defined) : taxonomylist.get()|filter(page => page.header.event.start is defined) %}
{% if page.url contains events %}
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% set taxlist = taxlist|filter(page => page.header.event.start is defined) %}
{% else %}
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% endif %}
{{ page.url }}
{{ base_url }}
{{ base_url ~ "/events" }}
{{ base_url ~ "/events"}}
{% if taxlist %}
<span class="tags">
{% for tax,value in taxlist[taxonomy] %}