footer blocks by regions #2420
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user