diff --git a/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig b/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig index dad8fab7bf5d3e467ff66865ed34eaf7f342990a..feb2b35ee049a8523e80107374ee0c5818d30e18 100644 --- a/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/layout/page.html.twig @@ -118,30 +118,32 @@ </aside> {% endif %} </div> - </main> - {% if page.content_bottom|render|trim is not empty %} - <div class="layout-content-bottom"> - {{ page.content_bottom }} - </div> - {% endif %} - - {% if page.footer|render|trim is not empty %} - <div class="layout-footer"> - <footer class="footer" role="contentinfo"> - <div class="container"> - {{ page.footer }} + {% if page.content_bottom|render|trim is not empty %} + <div class="layout-content-bottom"> + {{ page.content_bottom }} </div> - </footer> - </div> - {% endif %} + {% endif %} + </main> - {% if page.bottom|render|trim is not empty %} - <div class="layout-bottom"> - <div class="container"> - {{ page.bottom }} + <footer role="contentinfo"> + {% if page.footer|render|trim is not empty %} + <div class="layout-footer"> + <div class="footer"> + <div class="container"> + {{ page.footer }} + </div> </div> </div> - {% endif %} + {% endif %} + + {% if page.bottom|render|trim is not empty %} + <div class="layout-bottom"> + <div class="container"> + {{ page.bottom }} + </div> + </div> + {% endif %} + </footer> </div>{# /.layout-container #}