install-page.html.twig

Same filename in this branch
  1. 9 core/themes/stable9/templates/layout/install-page.html.twig
  2. 9 core/themes/seven/templates/install-page.html.twig
  3. 9 core/themes/claro/templates/install-page.html.twig
  4. 9 core/modules/system/templates/install-page.html.twig
Same filename in other branches
  1. 8.9.x core/themes/seven/templates/install-page.html.twig
  2. 8.9.x core/themes/claro/templates/install-page.html.twig
  3. 8.9.x core/themes/stable/templates/layout/install-page.html.twig
  4. 8.9.x core/modules/system/templates/install-page.html.twig
  5. 10 core/themes/stable9/templates/layout/install-page.html.twig
  6. 10 core/themes/claro/templates/install-page.html.twig
  7. 10 core/modules/system/templates/install-page.html.twig
  8. 11.x core/themes/stable9/templates/layout/install-page.html.twig
  9. 11.x core/themes/claro/templates/install-page.html.twig
  10. 11.x core/modules/system/templates/install-page.html.twig

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.

See also

template_preprocess_install_page()

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 #}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.