footer blocks template fixe #2420

This commit is contained in:
2023-11-24 11:39:52 +01:00
parent 748c1d9d0a
commit 1a3a15e4c0
4 changed files with 69 additions and 6 deletions
@@ -81,10 +81,17 @@
</main>
{% if page.footer %}
{% if page.footer_top or page.footer_left or page.footer_middle or page.footer_right or page.footer_bottom %}
<footer role="contentinfo">
{{ page.footer }}
<section id="footer-top">{{ page.footer_top }}</section>
<div>
<section id="footer-left">{{ page.footer_left }}</section>
<section id="footer-middle">{{ page.footer_middle }}</section>
<section id="footer-right">{{ page.footer_right }}</section>
</div>
<section id="footer-bottom">{{ page.footer_bottom }}</section>
</footer>
{% endif %}
</div>{# /.layout-container #}
@@ -81,9 +81,15 @@
</main>
{% if page.footer %}
{% if page.footer_top or page.footer_left or page.footer_middle or page.footer_right or page.footer_bottom %}
<footer role="contentinfo">
{{ page.footer }}
<section id="footer-top">{{ page.footer_top }}</section>
<div>
<section id="footer-left">{{ page.footer_left }}</section>
<section id="footer-middle">{{ page.footer_middle }}</section>
<section id="footer-right">{{ page.footer_right }}</section>
</div>
<section id="footer-bottom">{{ page.footer_bottom }}</section>
</footer>
{% endif %}
@@ -81,7 +81,7 @@
</main>
{% if page.footer_top or page.footer_left or page.footer_middle or page.footer_right or page.footer_bottom %}
{# {% if page.footer_top or page.footer_left or page.footer_middle or page.footer_right or page.footer_bottom %} #}
<footer role="contentinfo">
<section id="footer-top">{{ page.footer_top }}</section>
<div>
@@ -91,6 +91,6 @@
</div>
<section id="footer-bottom">{{ page.footer_bottom }}</section>
</footer>
{% endif %}
{# {% endif %} #}
</div>{# /.layout-container #}