1. 8.5.x core/themes/seven/templates/maintenance-page.html.twig
  2. 8.5.x core/themes/stable/templates/layout/maintenance-page.html.twig
  3. 8.5.x core/themes/classy/templates/layout/maintenance-page.html.twig
  4. 8.5.x core/modules/system/templates/maintenance-page.html.twig
  5. 8.5.x core/themes/bartik/templates/maintenance-page.html.twig
  6. 8.0.x core/themes/bartik/templates/maintenance-page.html.twig
  7. 8.0.x core/themes/stable/templates/layout/maintenance-page.html.twig
  8. 8.0.x core/themes/seven/templates/maintenance-page.html.twig
  9. 8.0.x core/modules/system/templates/maintenance-page.html.twig
  10. 8.0.x core/themes/classy/templates/layout/maintenance-page.html.twig
  11. 8.1.x core/themes/classy/templates/layout/maintenance-page.html.twig
  12. 8.1.x core/themes/stable/templates/layout/maintenance-page.html.twig
  13. 8.1.x core/modules/system/templates/maintenance-page.html.twig
  14. 8.1.x core/themes/seven/templates/maintenance-page.html.twig
  15. 8.1.x core/themes/bartik/templates/maintenance-page.html.twig
  16. 8.2.x core/themes/classy/templates/layout/maintenance-page.html.twig
  17. 8.2.x core/modules/system/templates/maintenance-page.html.twig
  18. 8.2.x core/themes/seven/templates/maintenance-page.html.twig
  19. 8.2.x core/themes/bartik/templates/maintenance-page.html.twig
  20. 8.2.x core/themes/stable/templates/layout/maintenance-page.html.twig
  21. 8.3.x core/themes/seven/templates/maintenance-page.html.twig
  22. 8.3.x core/themes/bartik/templates/maintenance-page.html.twig
  23. 8.3.x core/modules/system/templates/maintenance-page.html.twig
  24. 8.3.x core/themes/stable/templates/layout/maintenance-page.html.twig
  25. 8.3.x core/themes/classy/templates/layout/maintenance-page.html.twig
  26. 8.4.x core/modules/system/templates/maintenance-page.html.twig
  27. 8.4.x core/themes/classy/templates/layout/maintenance-page.html.twig
  28. 8.4.x core/themes/seven/templates/maintenance-page.html.twig
  29. 8.4.x core/themes/bartik/templates/maintenance-page.html.twig
  30. 8.4.x core/themes/stable/templates/layout/maintenance-page.html.twig
  31. 8.6.x core/themes/classy/templates/layout/maintenance-page.html.twig
  32. 8.6.x core/themes/stable/templates/layout/maintenance-page.html.twig
  33. 8.6.x core/themes/bartik/templates/maintenance-page.html.twig
  34. 8.6.x core/modules/system/templates/maintenance-page.html.twig
  35. 8.6.x core/themes/seven/templates/maintenance-page.html.twig

Default 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.

See also

template_preprocess_maintenance_page()

File

core/modules/system/templates/maintenance-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default 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. * @ingroup themeable
  12. */
  13. #}
  14. <header role="banner">
  15. {% if logo %}
  16. <a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">
  17. <img src="{{ logo }}" alt="{{ 'Home'|t }}"/>
  18. </a>
  19. {% endif %}
  20. {% if site_name or site_slogan %}
  21. {% if site_name %}
  22. <h1>
  23. <a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
  24. </h1>
  25. {% endif %}
  26. {% if site_slogan %}
  27. <div>{{ site_slogan }}</div>
  28. {% endif %}
  29. {% endif %}
  30. </header>
  31. <main role="main">
  32. {% if title %}
  33. <h1>{{ title }}</h1>
  34. {% endif %}
  35. {{ page.highlighted }}
  36. {{ page.content }}
  37. </main>
  38. {% if page.sidebar_first %}
  39. <aside role="complementary">
  40. {{ page.sidebar_first }}
  41. </aside>
  42. {% endif %}
  43. {% if page.sidebar_second %}
  44. <aside role="complementary">
  45. {{ page.sidebar_second }}
  46. </aside>
  47. {% endif %}
  48. {% if page.footer %}
  49. <footer role="contentinfo">
  50. {{ page.footer }}
  51. </footer>
  52. {% endif %}

Related topics