63 lines
1.3 KiB
Twig
63 lines
1.3 KiB
Twig
{#
|
|
/**
|
|
* @file
|
|
* Seven's theme implementation to display a single Drupal page while offline.
|
|
*
|
|
* All of the available variables are mirrored in html.html.twig.
|
|
*
|
|
* @see template_preprocess_maintenance_page()
|
|
* @see seven_preprocess_maintenance_page()
|
|
*/
|
|
#}
|
|
<!DOCTYPE html>
|
|
<html{{ html_attributes }} class="maintenance-background">
|
|
<head>
|
|
{{ head }}
|
|
<title>{{ head_title }}</title>
|
|
{{ styles }}
|
|
{{ scripts }}
|
|
</head>
|
|
<body{{ attributes }}>
|
|
|
|
<div class="l-container">
|
|
|
|
{{ page_top }}
|
|
|
|
<header role="banner">
|
|
{% if site_name or site_slogan %}
|
|
<div class="name-and-slogan">
|
|
{% if site_name %}
|
|
<h1>{{ site_name }}</h1>
|
|
{% endif %}
|
|
{% if site_slogan %}
|
|
<div class="site-slogan">{{ site_slogan }}</div>
|
|
{% endif %}
|
|
</div>{# /.name-and-slogan #}
|
|
{% endif %}
|
|
</header>
|
|
|
|
{% if sidebar_first %}
|
|
<aside class="l-sidebar-first" role="complementary">
|
|
{{ sidebar_first }}
|
|
</aside>{# /.l-sidebar-first #}
|
|
{% endif %}
|
|
|
|
<main role="main">
|
|
{% if title %}
|
|
<h1>{{ title }}</h1>
|
|
{% endif %}
|
|
{{ messages }}
|
|
{{ content }}
|
|
</main>
|
|
|
|
{% if footer %}
|
|
<footer role="contentinfo">
|
|
{{ footer }}
|
|
</footer>
|
|
{% endif %}
|
|
|
|
</div>{# /.l-container #}
|
|
|
|
</body>
|
|
</html>
|