theme for RDM site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.4 KiB

{#
/**
* @file
* Theme implementation to display a single Drupal page while offline.
*
* All available variables are mirrored in page.html.twig.
*
* @see template_preprocess_maintenance_page()
*/
#}
<div id="maintenance-page">
<header class="header" role="banner">
<div class="container">
<div class="site-branding">
{% if site_name or site_slogan %}
<div class="site-name-slogan">
{% if site_name %}
<div class="site-name">
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
</div>
{% endif %}
{% if site_slogan %}
<div class="site-slogan">{{ site_slogan }}</div>
{% endif %}
</div> <!--/.site-name-slogan -->
{% endif %}
</div> <!-- /.site-branding -->
</div> <!--/.container -->
</header>
<main id="maintenance">
<div class="container maintenance">
<a id="main-content" tabindex="-1"></a>
{% if title %}
<h1 class="maintenance-title">{{ title }}</h1>
{% endif %}
<div class="maintenance-icon"><img src="{{ base_path ~ directory }}/images/maintenance.svg" alt="maintenance image" /></div>
<div class="maintenance-message">
{{ page.content }}
</div>
</div> <!-- /.container -->
</main> <!-- /#maintenance -->
</div><!-- /#maintenance-page -->
<!-- Custom styling for the maintenance page. -->
{{ attach_library('rdm/maintenance') }}