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 220efecf0d835acc1a3aaacb26ab4299ca21fe97..0cce8e4f96fef5542ddce5a3c97bace5d3f2f36b 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
@@ -58,7 +58,7 @@
   </div>
 
 
-  {% if page.tabs|render|striptags|trim is not empty %}
+  {% if page.tabs %}
   <div class="layout-tabs">
     <div class="container">
       {{ page.tabs }}