diff --git a/core/themes/olivero/templates/content/page-title.html.twig b/core/themes/olivero/templates/content/page-title.html.twig
index ae2c1cf27b70a749d4557da648bbf592ce991ac3..37296e7e72491fdafe7ea0e05c126a9962231231 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 }}