From 4ae2f2e8fecc9281409ab472fcfabb805a6cbb2d Mon Sep 17 00:00:00 2001 From: teldra Date: Thu, 12 Jan 2023 00:47:15 +0100 Subject: [PATCH] neues theme: add blueprints.yaml --- .../templates/partials/blog-item.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/quark-open-publishing/templates/partials/blog-item.html.twig b/themes/quark-open-publishing/templates/partials/blog-item.html.twig index 138cdecc..700631cd 100644 --- a/themes/quark-open-publishing/templates/partials/blog-item.html.twig +++ b/themes/quark-open-publishing/templates/partials/blog-item.html.twig @@ -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': 'folder', 'dir': 'asc'}} %} +{% set options = { items: {'@page.children': '/news', '@page.children': '/events'}, 'order': {'by': 'modified', 'dir': 'asc'}} %} {% set my_collection = page.collection(options) %} {% do paginate( my_collection, 5 ) %}