Skip to content
Snippets Groups Projects
Commit a6942a64 authored by Shyam Bhatt's avatar Shyam Bhatt Committed by Vladimir Roudakov
Browse files

Issue #3311824 by _pratik_, ressa, Shyam_Bhatt, Anchal_gupta, VladimirAus,...

Issue #3311824 by _pratik_, ressa, Shyam_Bhatt, Anchal_gupta, VladimirAus, dineshreddymathuku: Fix classes in body tag
parent 883185ac
No related branches found
Tags 1.0.0-rc1
No related merge requests found
......@@ -29,8 +29,8 @@
not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class,
node_type ? 'page-node-type-' ~ node_type|clean_class,
db_offline ? 'db-offline',
(b5_body_schema == 'light' ? ' text-dark' : (b5_body_schema == 'dark' ? ' text-light' : ' ')),
(b5_body_bg_schema != 'none' ? " bg-#{b5_body_bg_schema}" : ' '),
(b5_body_schema == 'light' ? ' text-dark' : (b5_body_schema == 'dark' ? ' text-light' : '')),
((b5_body_bg_schema != 'none' and b5_body_bg_schema != '') ? "bg-#{b5_body_bg_schema}" : ''),
'd-flex flex-column h-100'
]
%}
......
......@@ -120,7 +120,7 @@ set footer_classes = ' ' ~
</main>
{% if page.footer %}
<footer class="mt-auto {{ footer_classes }}">
<footer class="mt-auto{{ footer_classes|replace({' ': ' '}) }}">
<div class="{{ b5_top_container }}">
{{ page.footer }}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment