install-page.html.twig

Same filename in this branch
  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
Same filename in other branches
  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/themes/stable/templates/layout/install-page.html.twig
  5. 9 core/modules/system/templates/install-page.html.twig
  6. 10 core/themes/stable9/templates/layout/install-page.html.twig
  7. 10 core/themes/claro/templates/install-page.html.twig
  8. 10 core/modules/system/templates/install-page.html.twig
  9. 11.x core/themes/stable9/templates/layout/install-page.html.twig
  10. 11.x core/themes/claro/templates/install-page.html.twig
  11. 11.x 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


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