"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/profiles/demo_umami/themes/umami/templates/classy/layout/maintenance-page.html.twig" (26 Nov 2020, 1566 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Theme override 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 #}
   12 <div class="layout-container">
   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       <div class="name-and-slogan">
   23         {% if site_name %}
   24          <h1 class="site-name">
   25            <a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
   26          </h1>
   27         {% endif %}
   28 
   29         {% if site_slogan %}
   30           <div class="site-slogan">{{ site_slogan }}</div>
   31         {% endif %}
   32       </div>{# /.name-and-slogan #}
   33     {% endif %}
   34 
   35   </header>
   36 
   37   <main role="main">
   38     {% if title %}
   39       <h1>{{ title }}</h1>
   40     {% endif %}
   41 
   42     {{ page.highlighted }}
   43 
   44     {{ page.content }}
   45   </main>
   46 
   47   {% if page.sidebar_first %}
   48     <aside class="layout-sidebar-first" role="complementary">
   49       {{ page.sidebar_first }}
   50     </aside>{# /.layout-sidebar-first #}
   51   {% endif %}
   52 
   53   {% if page.sidebar_second %}
   54     <aside class="layout-sidebar-second" role="complementary">
   55       {{ page.sidebar_second }}
   56     </aside>{# /.layout-sidebar-second #}
   57   {% endif %}
   58 
   59   {% if page.footer %}
   60     <footer role="contentinfo">
   61       {{ page.footer }}
   62     </footer>
   63   {% endif %}
   64 
   65 </div>{# /.layout-container #}