neues theme: add blueprints.yaml
This commit is contained in:
parent
51ac437f2c
commit
e23c85ddce
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user