You are here

maintenance-page.html.twig in Drupal 8

Seven'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.

File

core/themes/seven/templates/maintenance-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Seven's theme implementation to display a single Drupal page while offline.
  5. *
  6. * All available variables are mirrored in page.html.twig.
  7. * Some may be blank but they are provided for consistency.
  8. *
  9. * @see template_preprocess_maintenance_page()
  10. */
  11. #}
  12. <div class="layout-container">
  13. <header role="banner">
  14. {% if site_name %}
  15. <h1 class="page-title">{{ site_name }}</h1>
  16. {% endif %}
  17. </header>
  18. {% if page.sidebar_first %}
  19. <aside class="layout-sidebar-first" role="complementary">
  20. {{ page.sidebar_first }}
  21. </aside>{# /.layout-sidebar-first #}
  22. {% endif %}
  23. <main role="main">
  24. {% if title %}
  25. <h1>{{ title }}</h1>
  26. {% endif %}
  27. {{ page.highlighted }}
  28. {{ page.content }}
  29. </main>
  30. {% if page.page_bottom %}
  31. <footer role="contentinfo">
  32. {{ page.page_bottom }}
  33. </footer>
  34. {% endif %}
  35. </div>{# /.layout-container #}