2013-05-24 16:53:16 +00:00
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Seven's theme implementation to display a single Drupal page while offline.
|
|
|
|
*
|
2014-04-17 20:12:22 +00:00
|
|
|
* All available variables are mirrored in page.html.twig.
|
|
|
|
* Some may be blank but they are provided for consistency.
|
2013-05-24 16:53:16 +00:00
|
|
|
*
|
|
|
|
* @see template_preprocess_maintenance_page()
|
|
|
|
*/
|
|
|
|
#}
|
2014-03-26 12:26:11 +00:00
|
|
|
<div class="l-container">
|
2013-05-24 16:53:16 +00:00
|
|
|
|
2014-03-26 12:26:11 +00:00
|
|
|
<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 %}
|
2013-05-24 16:53:16 +00:00
|
|
|
</header>
|
|
|
|
|
2014-04-17 20:12:22 +00:00
|
|
|
{% if page.sidebar_first %}
|
2014-03-26 12:26:11 +00:00
|
|
|
<aside class="l-sidebar-first" role="complementary">
|
2014-04-17 20:12:22 +00:00
|
|
|
{{ page.sidebar_first }}
|
2014-03-26 12:26:11 +00:00
|
|
|
</aside>{# /.l-sidebar-first #}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<main role="main">
|
|
|
|
{% if title %}
|
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
{% endif %}
|
|
|
|
{{ messages }}
|
2014-04-17 20:12:22 +00:00
|
|
|
{{ page.content }}
|
2014-03-26 12:26:11 +00:00
|
|
|
</main>
|
|
|
|
|
2014-04-17 20:12:22 +00:00
|
|
|
{% if page.page_bottom %}
|
2014-03-26 12:26:11 +00:00
|
|
|
<footer role="contentinfo">
|
2014-04-17 20:12:22 +00:00
|
|
|
{{ page.page_bottom }}
|
2014-03-26 12:26:11 +00:00
|
|
|
</footer>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</div>{# /.l-container #}
|