diff --git a/apps/web-twig-demo/templates/default.html.twig b/apps/web-twig-demo/templates/default.html.twig
index 420a560433..caf8a495d0 100644
--- a/apps/web-twig-demo/templates/default.html.twig
+++ b/apps/web-twig-demo/templates/default.html.twig
@@ -6,14 +6,16 @@
{% include 'partials/tabs.html.twig' %}
-
+
{% endblock %}
diff --git a/apps/web-twig-demo/templates/helpers.html.twig b/apps/web-twig-demo/templates/helpers.html.twig
index 8162a7885d..c4c3c10022 100644
--- a/apps/web-twig-demo/templates/helpers.html.twig
+++ b/apps/web-twig-demo/templates/helpers.html.twig
@@ -6,14 +6,16 @@
{% include 'partials/tabs.html.twig' %}
-
+
{% endblock %}
diff --git a/apps/web-twig-demo/templates/layout/base.html.twig b/apps/web-twig-demo/templates/layout/base.html.twig
index c7aed3c96d..0aeea3ac1a 100644
--- a/apps/web-twig-demo/templates/layout/base.html.twig
+++ b/apps/web-twig-demo/templates/layout/base.html.twig
@@ -4,7 +4,9 @@
-
{% block title %}{% endblock%} — Web Twig — Spirit Design System
+
+ {%- if block('title') is defined %}{% block title %}{% endblock %} —{% endif %} Web Twig — Spirit Design System
+
diff --git a/apps/web-twig-demo/templates/layout/default.html.twig b/apps/web-twig-demo/templates/layout/default.html.twig
index 9bb17920be..787c85564e 100644
--- a/apps/web-twig-demo/templates/layout/default.html.twig
+++ b/apps/web-twig-demo/templates/layout/default.html.twig
@@ -24,12 +24,17 @@
{% include 'partials/cover.html.twig' with { isUnstable, parentPageName, parentPageUrl, title } only %}
{% endblock %}
+ {# Pre-render page content due to TwigX limitations. #}
+ {%- set renderedContent -%}
+ {% block content %}{% endblock %}
+ {%- endset -%}
+
-
+
- {% block content %}{% endblock %}
+ {{ renderedContent }}
-
+
{% include 'partials/footer.html.twig' only %}
diff --git a/apps/web-twig-demo/templates/partials/cover.html.twig b/apps/web-twig-demo/templates/partials/cover.html.twig
index 3bb8e5c114..e59712ad6b 100644
--- a/apps/web-twig-demo/templates/partials/cover.html.twig
+++ b/apps/web-twig-demo/templates/partials/cover.html.twig
@@ -1,5 +1,5 @@
-
+
Unstable
+ Unstable
{% endif %}
@@ -35,5 +35,5 @@
-
+
diff --git a/apps/web-twig-demo/templates/partials/footer.html.twig b/apps/web-twig-demo/templates/partials/footer.html.twig
index 5208fe9c1c..c942f5323d 100644
--- a/apps/web-twig-demo/templates/partials/footer.html.twig
+++ b/apps/web-twig-demo/templates/partials/footer.html.twig
@@ -1,7 +1,7 @@
diff --git a/apps/web-twig-demo/templates/partials/header.html.twig b/apps/web-twig-demo/templates/partials/header.html.twig
index a12c7d17bf..b8279bfa87 100644
--- a/apps/web-twig-demo/templates/partials/header.html.twig
+++ b/apps/web-twig-demo/templates/partials/header.html.twig
@@ -1,8 +1,8 @@
-
+
{% include 'assets/spiritLogoInverted.html.twig' %}
-
+
diff --git a/apps/web-twig-demo/templates/partials/tabs.html.twig b/apps/web-twig-demo/templates/partials/tabs.html.twig
index 984d4f033a..d7342ce96e 100644
--- a/apps/web-twig-demo/templates/partials/tabs.html.twig
+++ b/apps/web-twig-demo/templates/partials/tabs.html.twig
@@ -5,9 +5,14 @@
{% set isHelpersSelected = routeName == 'helpers_index' %}
{% set isValidationsSelected = routeName == 'validations_index' %}
-
-
-
+
+
+
Components
diff --git a/apps/web-twig-demo/templates/validations.html.twig b/apps/web-twig-demo/templates/validations.html.twig
index d2f826b5a4..d08e58be0e 100644
--- a/apps/web-twig-demo/templates/validations.html.twig
+++ b/apps/web-twig-demo/templates/validations.html.twig
@@ -6,7 +6,7 @@
{% include 'partials/tabs.html.twig' %}
-
+
Real-World examples
diff --git a/packages/web-twig/src/Resources/icons/Icons.stories.twig b/packages/web-twig/src/Resources/icons/Icons.stories.twig
index f07260570f..035074ffb3 100644
--- a/packages/web-twig/src/Resources/icons/Icons.stories.twig
+++ b/packages/web-twig/src/Resources/icons/Icons.stories.twig
@@ -6,12 +6,16 @@
{% include 'partials/tabs.html.twig' %}
-
+
{% for icon in icons %}
-
{{ icon }}
{% endfor %}