diff --git a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-edgy.html.twig b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-edgy.html.twig
index 7472258a..008818fa 100644
--- a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-edgy.html.twig
+++ b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-edgy.html.twig
@@ -23,7 +23,7 @@
{% endset %}
{% set render_layout %}
- {% if content|render %}
+ {% if content|render|striptags|trim %}
{% if content.content|render %}
diff --git a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-sidebar.html.twig b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-sidebar.html.twig
index 7b2a7d83..8f15e61a 100644
--- a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-sidebar.html.twig
+++ b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--content-sidebar.html.twig
@@ -27,7 +27,7 @@
{% endset %}
{% set render_layout %}
- {% if content|render %}
+ {% if content|render|striptags|trim %}
{% if content.content|render %}
diff --git a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--fourcol.html.twig b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--fourcol.html.twig
index 0104324a..a103cd2f 100644
--- a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--fourcol.html.twig
+++ b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--fourcol.html.twig
@@ -36,7 +36,7 @@
{% endset %}
{% set render_layout %}
- {% if content|render %}
+ {% if content|render|striptags|trim %}
diff --git a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--header-section.html.twig b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--header-section.html.twig
index 151508f4..53031521 100644
--- a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--header-section.html.twig
+++ b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--header-section.html.twig
@@ -59,7 +59,7 @@
{% endset %}
{% set render_layout %}
- {% if content %}
+ {% if content|render|striptags|trim %}
diff --git a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--onecol.html.twig b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--onecol.html.twig
index dda87c77..f339d663 100644
--- a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--onecol.html.twig
+++ b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--onecol.html.twig
@@ -25,7 +25,7 @@
{% endset %}
{% set render_layout %}
- {% if content|render %}
+ {% if content|render|striptags|trim %}
diff --git a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--threecol.html.twig b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--threecol.html.twig
index 20ebc7cb..8365c168 100644
--- a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--threecol.html.twig
+++ b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--threecol.html.twig
@@ -33,7 +33,7 @@
{% endset %}
{% set render_layout %}
- {% if content|render %}
+ {% if content|render|striptags|trim %}
diff --git a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--twocol.html.twig b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--twocol.html.twig
index 29040d23..944347e8 100644
--- a/modules/custom/convivial_layouts/templates/section-layouts/section-layout--twocol.html.twig
+++ b/modules/custom/convivial_layouts/templates/section-layouts/section-layout--twocol.html.twig
@@ -30,7 +30,7 @@
{% endset %}
{% set render_layout %}
- {% if content|render %}
+ {% if content|render|striptags|trim %}