maintenance-page.html.twig 1.28 KB
Newer Older
1
2
3
4
5
{#
/**
 * @file
 * Seven's theme implementation to display a single Drupal page while offline.
 *
6
 * All of the available variables are mirrored in html.html.twig.
7
8
9
10
11
12
13
14
 *
 * @see template_preprocess_maintenance_page()
 * @see seven_preprocess_maintenance_page()
 *
 * @ingroup themeable
 */
#}
<!DOCTYPE html>
15
16
17
18
19
20
21
22
23
24
<html{{ html_attributes }} class="maintenance-background">
<head>
  {{ head }}
  <title>{{ head_title }}</title>
  {{ styles }}
  {{ scripts }}
</head>
<body{{ attributes }}>

<div class="l-container">
25
26
27

  {{ page_top }}

28
29
30
31
32
33
34
35
36
37
38
  <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 %}
39
40
  </header>

41
42
  {% if sidebar_first %}
    <aside class="l-sidebar-first" role="complementary">
43
      {{ sidebar_first }}
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
    </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>
64
</html>