maintenance-page.html.twig
Same filename in this branch
- 8.9.x core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
- 8.9.x core/themes/seven/templates/maintenance-page.html.twig
- 8.9.x core/themes/claro/templates/maintenance-page.html.twig
- 8.9.x core/themes/stable/templates/layout/maintenance-page.html.twig
- 8.9.x core/themes/classy/templates/layout/maintenance-page.html.twig
- 8.9.x core/modules/system/templates/maintenance-page.html.twig
Same filename in other branches
- 9 core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
- 9 core/themes/olivero/templates/maintenance-page.html.twig
- 9 core/themes/stable9/templates/layout/maintenance-page.html.twig
- 9 core/themes/seven/templates/maintenance-page.html.twig
- 9 core/themes/claro/templates/maintenance-page.html.twig
- 9 core/themes/bartik/templates/maintenance-page.html.twig
- 9 core/themes/stable/templates/layout/maintenance-page.html.twig
- 9 core/themes/starterkit_theme/templates/layout/maintenance-page.html.twig
- 9 core/themes/classy/templates/layout/maintenance-page.html.twig
- 9 core/modules/system/templates/maintenance-page.html.twig
- 10 core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
- 10 core/themes/olivero/templates/maintenance-page.html.twig
- 10 core/themes/stable9/templates/layout/maintenance-page.html.twig
- 10 core/themes/claro/templates/maintenance-page.html.twig
- 10 core/themes/starterkit_theme/templates/layout/maintenance-page.html.twig
- 10 core/modules/system/templates/maintenance-page.html.twig
- 11.x core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
- 11.x core/themes/olivero/templates/maintenance-page.html.twig
- 11.x core/themes/stable9/templates/layout/maintenance-page.html.twig
- 11.x core/themes/claro/templates/maintenance-page.html.twig
- 11.x core/themes/starterkit_theme/templates/layout/maintenance-page.html.twig
- 11.x core/modules/system/templates/maintenance-page.html.twig
Bartik's theme implementation to display a single Drupal page while offline.
All available variables are mirrored in page.html.twig.
See also
template_preprocess_maintenance_page()
File
-
core/
themes/ bartik/ templates/ maintenance-page.html.twig
View source
- {#
- /**
- * @file
- * Bartik's theme implementation to display a single Drupal page while offline.
- *
- * All available variables are mirrored in page.html.twig.
- *
- * @see template_preprocess_maintenance_page()
- */
- #}
- <div id="page-wrapper">
- <div id="page">
- <header id="header" role="banner">
- <div class="section clearfix">
- {% if site_name or site_slogan %}
- <div id="name-and-slogan"{{ hide_site_name and hide_site_slogan ? ' class="visually-hidden"' }}>
- {% if site_name %}
- <div id="site-name"{{ hide_site_name ? ' class="visually-hidden"' }}>
- <strong>
- <a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home"><span>{{ site_name }}</span></a>
- </strong>
- </div>
- {% endif %}
- {% if site_slogan %}
- <div id="site-slogan"{{ hide_site_slogan ? ' class="visually-hidden"' }}>
- {{ site_slogan }}
- </div>
- {% endif %}
- </div>
- {% endif %}
- </div>
- </header>
- <div id="main-wrapper">
- <div id="main" class="clearfix">
- <main id="content" class="column" role="main">
- <section class="section">
- <a id="main-content"></a>
- {% if title %}
- <h1 class="title" id="page-title">{{ title }}</h1>
- {% endif %}
- {{ page.content }}
- {{ page.highlighted }}
- </section>
- </main>
- </div>
- </div>
- </div>
- </div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.