You are here

install-page.html.twig in Drupal 10

Theme override 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.

File

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