neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-11 11:44:46 +01:00
parent 51ac437f2c
commit e23c85ddce

View File

@ -7,7 +7,7 @@
{# get events by taxonomy #}
{% set events = page.collection({ 'items': { '@page.children': '/blog' }, 'dateRange': { 'start': datetools.today|date('Y/m/d'), 'end': datetools.parseDate('+3 months')|date('Y/m/d') }, 'order': { 'by': event.start|date('Y-m-d'), 'dir': 'asc' }, 'limit': 3, 'pagination': false })|filter(page => page.header.event.start is defined) %}
{% for p in events %}
{{ p.start }}
{{ p.header.event.start }}
{% endfor %}
{% if config.plugins.simplesearch.enabled %}