You are here

maintenance-page.html.twig in Drupal 9

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.

File

core/themes/claro/templates/maintenance-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Claro'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. <h2 class="site-name">{{ site_name }}</h2>
  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 class="title">{{ title }}</h1>
  26. {% endif %}
  27. {{ page.highlighted }}
  28. <div class="content">
  29. {{ page.content }}
  30. </div>
  31. </main>
  32. {% if page.page_bottom %}
  33. <footer role="contentinfo">
  34. {{ page.page_bottom }}
  35. </footer>
  36. {% endif %}
  37. </div>{# /.layout-container #}