maintenance-page.html.twig

Same filename in this branch
  1. 9 core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
  2. 9 core/themes/stable9/templates/layout/maintenance-page.html.twig
  3. 9 core/themes/seven/templates/maintenance-page.html.twig
  4. 9 core/themes/claro/templates/maintenance-page.html.twig
  5. 9 core/themes/bartik/templates/maintenance-page.html.twig
  6. 9 core/themes/stable/templates/layout/maintenance-page.html.twig
  7. 9 core/themes/starterkit_theme/templates/layout/maintenance-page.html.twig
  8. 9 core/themes/classy/templates/layout/maintenance-page.html.twig
  9. 9 core/modules/system/templates/maintenance-page.html.twig
Same filename in other branches
  1. 8.9.x core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
  2. 8.9.x core/themes/seven/templates/maintenance-page.html.twig
  3. 8.9.x core/themes/claro/templates/maintenance-page.html.twig
  4. 8.9.x core/themes/bartik/templates/maintenance-page.html.twig
  5. 8.9.x core/themes/stable/templates/layout/maintenance-page.html.twig
  6. 8.9.x core/themes/classy/templates/layout/maintenance-page.html.twig
  7. 8.9.x core/modules/system/templates/maintenance-page.html.twig
  8. 10 core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
  9. 10 core/themes/olivero/templates/maintenance-page.html.twig
  10. 10 core/themes/stable9/templates/layout/maintenance-page.html.twig
  11. 10 core/themes/claro/templates/maintenance-page.html.twig
  12. 10 core/themes/starterkit_theme/templates/layout/maintenance-page.html.twig
  13. 10 core/modules/system/templates/maintenance-page.html.twig
  14. 11.x core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig
  15. 11.x core/themes/olivero/templates/maintenance-page.html.twig
  16. 11.x core/themes/stable9/templates/layout/maintenance-page.html.twig
  17. 11.x core/themes/claro/templates/maintenance-page.html.twig
  18. 11.x core/themes/starterkit_theme/templates/layout/maintenance-page.html.twig
  19. 11.x core/modules/system/templates/maintenance-page.html.twig

Olivero'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/olivero/templates/maintenance-page.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Olivero's theme implementation to display a single Drupal page while offline.
  5. *
  6. * All available variables are mirrored in page.html.twig.
  7. *
  8. * @see template_preprocess_maintenance_page()
  9. */
  10. #}
  11. <div id="page-wrapper" class="page-wrapper">
  12. <div id="page">
  13. <header id="header" class="site-header" role="banner" data-once="navigation">
  14. <div class="site-header__fixable">
  15. <div class="site-header__initial">
  16. </div>
  17. <div id="site-header__inner" class="site-header__inner">
  18. <div class="container site-header__inner__container">
  19. <div class="site-branding block block-system block-system-branding-block">
  20. <div class="site-branding__inner">
  21. <div class="site-branding__text">
  22. <div class="site-branding__name">
  23. {{ site_name }}
  24. </div>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. </header>
  32. <div id="main-wrapper" class="layout-main-wrapper layout-container">
  33. <div id="main" class="layout-main">
  34. <div class="main-content">
  35. <a id="main-content" tabindex="-1"></a>
  36. <div class="main-content__container container">
  37. {{ page.highlighted }}
  38. <main role="main">
  39. <div class="region region--content-above grid-full layout--pass--content-medium ie11-autorow">
  40. {% if title %}
  41. <h1 class="title" id="page-title">{{ title }}</h1>
  42. {% endif %}
  43. </div>
  44. <div class="region region--content grid-full layout--pass--content-medium ie11-autorow" id="content">
  45. <div id="block-olivero-content" class="block block-system block-system-main-block text-content">
  46. {{ page.content }}
  47. {% include "@olivero/../images/site-under-maintenance-icon.svg" %}
  48. </div>
  49. </div>
  50. </main>
  51. </div>
  52. </div>
  53. <div class="social-bar">
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.