diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme index 61212febe21d..0360b6ec5f28 100644 --- a/core/themes/seven/seven.theme +++ b/core/themes/seven/seven.theme @@ -6,12 +6,12 @@ */ /** - * Implements hook_preprocess_HOOK() for maintenance-page.tpl.php. + * Implements hook_preprocess_HOOK() for maintenance-page.html.twig. */ function seven_preprocess_maintenance_page(&$vars) { // While markup for normal pages is split into page.tpl.php and html.tpl.php, // the markup for the maintenance page is all in the single - // maintenance-page.tpl.php template. So, to have what's done in + // maintenance-page.html.twig template. So, to have what's done in // seven_preprocess_html() also happen on the maintenance page, it has to be // called here. seven_preprocess_html($vars); diff --git a/core/themes/seven/templates/maintenance-page.html.twig b/core/themes/seven/templates/maintenance-page.html.twig new file mode 100644 index 000000000000..02af912884d5 --- /dev/null +++ b/core/themes/seven/templates/maintenance-page.html.twig @@ -0,0 +1,57 @@ +{# +/** + * @file + * Seven's theme implementation to display a single Drupal page while offline. + * + * All of the available variables are mirrored in page.html.twig. + * + * @see template_preprocess() + * @see template_preprocess_maintenance_page() + * @see seven_preprocess_maintenance_page() + * + * @ingroup themeable + */ +#} + + +
+