From 1fd796042d9e3cd1ce65a64c55077b90cb7bc9f9 Mon Sep 17 00:00:00 2001 From: nod_ Date: Tue, 21 May 2024 15:29:49 +0200 Subject: [PATCH] Issue #3439017 by catch, smustgrave: Umami page.tpl.php breaks block placeholders --- .../umami/templates/layout/page.html.twig | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig b/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig index 5215326a3f2..916715704da 100644 --- a/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig @@ -44,14 +44,14 @@ #}
- {% if page.pre_header|render|striptags|trim is not empty or - page.header|render|striptags|trim is not empty %} + {% if page.pre_header|render|trim is not empty or + page.header|render|trim is not empty %}
{% endif %} - {% if page.banner_top|render|striptags|trim is not empty %} + {% if page.banner_top|render|trim is not empty %}
{{ page.banner_top }}
{% endif %} - {% if page.breadcrumbs|render|striptags|trim is not empty %} + {% if page.breadcrumbs|render|trim is not empty %}
{{ page.breadcrumbs }} @@ -89,7 +89,7 @@ {% endif %} {% if not node %} - {% if page.page_title|render|striptags|trim is not empty %} + {% if page.page_title|render|trim is not empty %}
{% if is_front %}
@@ -111,7 +111,7 @@ {{ page.content }}
{# /.layout-content #} - {% if page.sidebar|render|striptags|trim is not empty %} + {% if page.sidebar|render|trim is not empty %} @@ -119,13 +119,13 @@ - {% if page.content_bottom|render|striptags|trim is not empty %} + {% if page.content_bottom|render|trim is not empty %}
{{ page.content_bottom }}
{% endif %} - {% if page.footer|render|striptags|trim is not empty %} + {% if page.footer|render|trim is not empty %}