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/olivero/templates/maintenance-page.html.twig
  3. 9 core/themes/stable9/templates/layout/maintenance-page.html.twig
  4. 9 core/themes/seven/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

Claro's theme implementation for maintenance page.

This template is used for rendering non-frontpage maintenance pages. An example of this is /update.php.

All available variables are mirrored in page.html.twig. Some may be blank but they are provided for consistency.

See also

template_preprocess_maintenance_page()

maintenance-page--front.html.twig

File

core/themes/claro/templates/maintenance-page.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Claro's theme implementation for maintenance page.
  5. *
  6. * This template is used for rendering non-frontpage maintenance pages. An
  7. * example of this is /update.php.
  8. *
  9. * All available variables are mirrored in page.html.twig.
  10. * Some may be blank but they are provided for consistency.
  11. *
  12. * @see template_preprocess_maintenance_page()
  13. * @see maintenance-page--front.html.twig
  14. */
  15. #}
  16. <div class="layout-container">
  17. <header role="banner">
  18. {% if site_name %}
  19. <h2 class="site-name">{{ site_name }}</h2>
  20. {% endif %}
  21. </header>
  22. {% if page.sidebar_first %}
  23. <aside class="layout-sidebar-first" role="complementary">
  24. {{ page.sidebar_first }}
  25. </aside>{# /.layout-sidebar-first #}
  26. {% endif %}
  27. <main role="main" class="main-content">
  28. {% if title %}
  29. <h1 class="title">{{ title }}</h1>
  30. {% endif %}
  31. {{ page.highlighted }}
  32. <div class="content">
  33. {{ page.content }}
  34. </div>
  35. </main>
  36. {% if page.page_bottom %}
  37. <footer role="contentinfo">
  38. {{ page.page_bottom }}
  39. </footer>
  40. {% endif %}
  41. </div>{# /.layout-container #}

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