Version 1
[yaffs-website] / web / core / modules / system / templates / maintenance-page.html.twig
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
21   {% if site_name or site_slogan %}
22     {% if site_name %}
23       <h1>
24         <a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
25       </h1>
26     {% endif %}
27
28     {% if site_slogan %}
29       <div>{{ site_slogan }}</div>
30     {% endif %}
31   {% endif %}
32 </header>
33
34 <main role="main">
35   {% if title %}
36     <h1>{{ title }}</h1>
37   {% endif %}
38
39   {{ page.highlighted }}
40
41   {{ page.content }}
42 </main>
43
44 {% if page.sidebar_first %}
45   <aside role="complementary">
46     {{ page.sidebar_first }}
47   </aside>
48 {% endif %}
49
50 {% if page.sidebar_second %}
51   <aside role="complementary">
52     {{ page.sidebar_second }}
53   </aside>
54 {% endif %}
55
56 {% if page.footer %}
57   <footer role="contentinfo">
58     {{ page.footer }}
59   </footer>
60 {% endif %}