From 88b509014dbadfc7a1e6ea2daa3497a16f4d244d Mon Sep 17 00:00:00 2001 From: iberdinsky <iberdinsky@skilld.cloud> Date: Wed, 10 Jul 2024 06:31:03 +0200 Subject: [PATCH] Fixed footer - #3050559 --- .../umami/templates/layout/page.html.twig | 42 ++++++++++--------- 1 file changed, 22 insertions(+), 20 deletions(-) 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 dad8fab7bf5d..feb2b35ee049 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 #} -- GitLab