From 91f00dc051def5358135539d51dbab3019e66538 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 10 Jan 2023 14:24:53 +0100 Subject: [PATCH] neues theme: add blueprints.yaml --- .../templates/partials/news-list-item.html.twig | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/themes/buha2/templates/partials/news-list-item.html.twig b/themes/buha2/templates/partials/news-list-item.html.twig index a7f27ee1..1d40a00c 100644 --- a/themes/buha2/templates/partials/news-list-item.html.twig +++ b/themes/buha2/templates/partials/news-list-item.html.twig @@ -1,5 +1,13 @@ +
+
+ {% set image = page.media.images|first %} + {% if image != null %} + {{ image.cropZoom(960,280).html|raw }} + {% endif %} +
-
{# date and time #} +
+
{# date and time #}
-
{# date and time #} +
{# date and time #} {% if single == true %} {# individual content page #}

{{ page.title }}

{% if (config.plugins.events.event_meta.display_location) and (page.header.event.location is not empty) %} @@ -51,4 +59,6 @@
{% endif %}
+
+