neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-11 02:37:03 +01:00
parent 5067df9ffd
commit d1282544e4

View File

@ -5,7 +5,7 @@
{% set sidebar_page_content = sidebar_page.content %}
{# 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': 'start', 'dir': 'asc' }, 'limit': 3, 'pagination': false })|filter(page => page.header.event.start is defined) %}
{% 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': 'date', 'dir': 'asc' }, 'limit': 3, 'pagination': false })|filter(page => page.header.event.start is defined) %}
{% if config.plugins.simplesearch.enabled %}
<div class="sidebar-content">