neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-11 02:01:47 +01:00
parent 886e8f296d
commit 4f008b4ad2

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': 10, 'pagination': true })|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': 'start', 'dir': 'asc' }, 'limit': 3, 'pagination': true })|filter(page => page.header.event.start is defined) %}
{% if config.plugins.simplesearch.enabled %}
<div class="sidebar-content">