Drupal investigation

install-page.html.twig 1.4KB

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