diff --git a/core/modules/system/templates/install-page.html.twig b/core/modules/system/templates/install-page.html.twig
index d362d22..1d0e479 100644
--- a/core/modules/system/templates/install-page.html.twig
+++ b/core/modules/system/templates/install-page.html.twig
@@ -30,7 +30,7 @@
{% if title %}
{{ title }}
{% endif %}
- {{ page.messages }}
+ {{ page.highlighted }}
{{ page.content }}
diff --git a/core/modules/system/templates/maintenance-page.html.twig b/core/modules/system/templates/maintenance-page.html.twig
index f270621..830ec21 100644
--- a/core/modules/system/templates/maintenance-page.html.twig
+++ b/core/modules/system/templates/maintenance-page.html.twig
@@ -41,7 +41,7 @@
{{ title }}
{% endif %}
- {{ page.messages }}
+ {{ page.highlighted }}
{{ page.content }}