Skip to content
Snippets Groups Projects
Commit f63f5249 authored by Brian Canini's avatar Brian Canini
Browse files

asc_bootstrap - fixing class setup for sidebar and content regions

parent 1b7a544a
No related merge requests found
......@@ -69,10 +69,10 @@
{# Content #}
{%
set content_classes = [
page.sidebar_first and page.sidebar_second ? 'col-sm-6',
page.sidebar_first and page.sidebar_second is empty ? 'col-sm-9',
page.sidebar_second and page.sidebar_first is empty ? 'col-sm-9',
page.sidebar_first is empty and page.sidebar_second is empty ? 'col-sm-12'
page.sidebar_menu and page.sidebar_second ? 'col-sm-9',
page.sidebar_menu and page.sidebar_second is empty ? 'col-sm-9',
page.sidebar_second and page.sidebar_menu is empty ? 'col-sm-9',
page.sidebar_menu is empty and page.sidebar_second is empty ? 'col-sm-12'
]
%}
<section{{ content_attributes.addClass(content_classes) }}>
......
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