From 36b2e876d372e8a84cd7f168daf5970e99f9a7cc Mon Sep 17 00:00:00 2001 From: Lauri Eskola <lauri.eskola@acquia.com> Date: Tue, 24 Nov 2020 17:58:06 +0200 Subject: [PATCH] Issue #3177231 by mherchel, ayushmishra206, kostyashupenko, nitesh624, markdorison, lauriii: Olivero homepage has an empty title block div with an empty H1 (cherry picked from commit cee06ebf884baa6c70947aa0feb7104b826fc3a1) --- core/themes/olivero/templates/content/page-title.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/themes/olivero/templates/content/page-title.html.twig b/core/themes/olivero/templates/content/page-title.html.twig index ae2c1cf27b70..37296e7e7249 100644 --- a/core/themes/olivero/templates/content/page-title.html.twig +++ b/core/themes/olivero/templates/content/page-title.html.twig @@ -20,7 +20,7 @@ %} {{ title_prefix }} -{% if title %} +{% if title|render|striptags|trim %} <h1{{ title_attributes.addClass(classes) }}>{{ title }}</h1> {% endif %} {{ title_suffix }} -- GitLab