neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-12 00:46:23 +01:00
parent eaad2b2107
commit 2f4645bfb8

View File

@ -50,7 +50,7 @@
{# added check for content display flag - hibbittsdesign.org #}
{% if not (grav.uri.param('chromeless') or grav.uri.param('embedded') or grav.uri.param('standalone')) and not(theme_var('chromeless.enabled')) and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %}
{% set options = { items: {'@page.children': '/news':'', '@page.children': '/events'}, 'order': {'by': 'modified', 'dir': 'asc'}} %}
{% set options = { items: {'@page.children': '/news', '@page.children': '/events'}, 'order': {'by': 'folder', 'dir': 'asc'}} %}
{% set my_collection = page.collection(options) %}
{% do paginate( my_collection, 5 ) %}