footer blocks by regions #2420

This commit is contained in:
2023-11-24 11:14:50 +01:00
parent 230e19df9b
commit 7e85e5761a
14 changed files with 178 additions and 62 deletions
+5 -1
View File
@@ -18,4 +18,8 @@ regions:
content: 'Content'
sidebar_first: 'Sidebar first'
sidebar_second: 'Sidebar second'
footer: 'Footer'
footer_top: 'Footer top'
footer_left: 'Footer left'
footer_middle: 'Footer middle'
footer_right: 'Footer right'
footer_bottom: 'Footer bottom'
@@ -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 %}