maintenance-page.html.twig in Drupal 8
Same filename in this branch
- 8 core/themes/claro/templates/maintenance-page.html.twig
- 8 core/themes/seven/templates/maintenance-page.html.twig
- 8 core/themes/bartik/templates/maintenance-page.html.twig
- 8 core/modules/system/templates/maintenance-page.html.twig
- 8 core/themes/classy/templates/layout/maintenance-page.html.twig
- 8 core/themes/stable/templates/layout/maintenance-page.html.twig
- 8 core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
Same filename and directory in other branches
Claro's theme implementation to display a single Drupal page while offline.
All available variables are mirrored in page.html.twig. Some may be blank but they are provided for consistency.
See also
File
core/themes/claro/templates/maintenance-page.html.twigView source
- {#
- /**
- * @file
- * Claro's theme implementation to display a single Drupal page while offline.
- *
- * All available variables are mirrored in page.html.twig.
- * Some may be blank but they are provided for consistency.
- *
- * @see template_preprocess_maintenance_page()
- */
- #}
- <div class="layout-container">
-
- <header role="banner">
- {% if site_name %}
- <h1 class="page-title">{{ site_name }}</h1>
- {% endif %}
- </header>
-
- {% if page.sidebar_first %}
- <aside class="layout-sidebar-first" role="complementary">
- {{ page.sidebar_first }}
- </aside>{# /.layout-sidebar-first #}
- {% endif %}
-
- <main role="main">
- {% if title %}
- <h1>{{ title }}</h1>
- {% endif %}
- {{ page.highlighted }}
- {{ page.content }}
- </main>
-
- {% if page.page_bottom %}
- <footer role="contentinfo">
- {{ page.page_bottom }}
- </footer>
- {% endif %}
-
- </div>{# /.layout-container #}