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

47 lines
1.1 KiB
Twig

{#
/**
* @file
* 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 template_preprocess_maintenance_page()
* @see maintenance-page--front.html.twig
*/
#}
<div class="layout-container">
<header role="banner">
{% if site_name %}
<h2 class="site-name">{{ site_name }}</h2>
{% endif %}
</header>
{% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary">
{{ page.sidebar_first }}
</aside>{# /.layout-sidebar-first #}
{% endif %}
<main role="main" class="main-content">
{% if title %}
<h1 class="title">{{ title }}</h1>
{% endif %}
{{ page.highlighted }}
<div class="content">
{{ page.content }}
</div>
</main>
{% if page.page_bottom %}
<footer role="contentinfo">
{{ page.page_bottom }}
</footer>
{% endif %}
</div>{# /.layout-container #}