63 lines
2.0 KiB
Twig
63 lines
2.0 KiB
Twig
{#
|
|
/**
|
|
* @file
|
|
* Bartik'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()
|
|
*/
|
|
#}
|
|
<!DOCTYPE html>
|
|
<html{{ html_attributes }}>
|
|
<head>
|
|
{{ head }}
|
|
<title>{{ head_title }}</title>
|
|
{{ styles }}
|
|
{{ scripts }}
|
|
</head>
|
|
<body class="{{ attributes.class }}"{{ attributes }}>
|
|
|
|
<a href="#main-content" class="visually-hidden focusable skip-link">
|
|
{{ 'Skip to main content'|t }}
|
|
</a>
|
|
|
|
<div id="page-wrapper"><div id="page">
|
|
|
|
<header id="header" role="banner"><div class="section clearfix">
|
|
{% if site_name or site_slogan %}
|
|
<div id="name-and-slogan"{{ hide_site_name and hide_site_slogan ? ' class="visually-hidden"' }}>
|
|
{% if site_name %}
|
|
<div id="site-name"{{ hide_site_name ? ' class="visually-hidden"' }}>
|
|
<strong>
|
|
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home"><span>{{ site_name }}</span></a>
|
|
</strong>
|
|
</div>
|
|
{% endif %}
|
|
{% if site_slogan %}
|
|
<div id="site-slogan"{{ hide_site_slogan ? ' class="visually-hidden"' }}>
|
|
{{ site_slogan }}
|
|
</div>
|
|
{% endif %}
|
|
</div> <!-- /#name-and-slogan -->
|
|
{% endif %}
|
|
</div></header> <!-- /.section, /#header -->
|
|
|
|
<div id="main-wrapper"><div id="main" class="clearfix">
|
|
<main id="content" class="column" role="main"><section class="section">
|
|
<a id="main-content"></a>
|
|
{% if title %}<h1 class="title" id="page-title">{{ title }}</h1>{% endif %}
|
|
{{ content }}
|
|
{% if messages %}
|
|
<div id="messages"><div class="section clearfix">
|
|
{{ messages }}
|
|
</div></div> <!-- /.section, /#messages -->
|
|
{% endif %}
|
|
</section></main> <!-- /.section, /#content -->
|
|
</div></div> <!-- /#main, /#main-wrapper -->
|
|
|
|
</div></div> <!-- /#page, /#page-wrapper -->
|
|
|
|
</body>
|
|
</html>
|