camaleon-8.x-1.x-dev/templates/layout/maintenance-page.html.twig
templates/layout/maintenance-page.html.twig
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | {# /** * @file * Theme override to display a single Drupal page while offline. * * All available variables are mirrored in page.html.twig. * Some may be blank but they are provided for consistency. * * @see template_preprocess_maintenance_page() */ #} <div class = "layout-container" > <header role= "banner" > {% if logo %} <a href= "{{ front_page }}" title= "{{ 'Home'|t }}" rel= "home" > <img src= "{{ logo }}" alt= "{{ 'Home'|t }}" /> </a> {% endif %} {% if site_name or site_slogan %} <div class = "name-and-slogan" > {% if site_name %} <h1 class = "site-name" > <a href= "{{ front_page }}" title= "{{ 'Home'|t }}" rel= "home" >{{ site_name }}</a> </h1> {% endif %} {% if site_slogan %} <div class = "site-slogan" >{{ site_slogan }}</div> {% endif %} </div>{# /.name- and -slogan #} {% endif %} </header> <main role= "main" > {% if title %} <h1>{{ title }}</h1> {% endif %} {{ page.highlighted }} {{ page.content }} </main> {% if page.sidebar_first %} <aside class = "layout-sidebar-first" role= "complementary" > {{ page.sidebar_first }} </aside>{# /.layout-sidebar-first #} {% endif %} {% if page.sidebar_second %} <aside class = "layout-sidebar-second" role= "complementary" > {{ page.sidebar_second }} </aside>{# /.layout-sidebar-second #} {% endif %} {% if page.footer %} <footer role= "contentinfo" > {{ page.footer }} </footer> {% endif %} </div>{# /.layout-container #} |