Same filename in this branch
  1. 10 core/modules/system/templates/install-page.html.twig
  2. 10 core/themes/claro/templates/install-page.html.twig
  3. 10 core/themes/stable9/templates/layout/install-page.html.twig
Same filename and directory in other branches
  1. 8.9.x core/modules/system/templates/install-page.html.twig
  2. 9 core/modules/system/templates/install-page.html.twig

Default theme implementation to display a Drupal installation page.

All available variables are mirrored in page.html.twig. Some may be blank but they are provided for consistency.

See also

template_preprocess_install_page()

File

core/modules/system/templates/install-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a Drupal installation page.
  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_install_page()
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <div class="layout-container">
  15. <header role="banner">
  16. {% if site_name or site_slogan %}
  17. <div class="name-and-slogan">
  18. {% if site_name %}
  19. <h1>{{ site_name }}</h1>
  20. {% endif %}
  21. {% if site_slogan %}
  22. <div class="site-slogan">{{ site_slogan }}</div>
  23. {% endif %}
  24. </div>{# /.name-and-slogan #}
  25. {% endif %}
  26. </header>
  27. <main role="main">
  28. {% if title %}
  29. <h2>{{ title }}</h2>
  30. {% endif %}
  31. {{ page.highlighted }}
  32. {{ page.content }}
  33. </main>
  34. {% if page.sidebar_first %}
  35. <aside class="layout-sidebar-first" role="complementary">
  36. {{ page.sidebar_first }}
  37. </aside>{# /.layout-sidebar-first #}
  38. {% endif %}
  39. {% if page.sidebar_second %}
  40. <aside class="layout-sidebar-second" role="complementary">
  41. {{ page.sidebar_second }}
  42. </aside>{# /.layout-sidebar-second #}
  43. {% endif %}
  44. {% if page.footer %}
  45. <footer role="contentinfo">
  46. {{ page.footer }}
  47. </footer>
  48. {% endif %}
  49. </div>{# /.layout-container #}

Related topics