fix other layouts

This commit is contained in:
Jina Anne 2018-12-27 19:12:55 -08:00
parent 17077282d3
commit a139d47482
3 changed files with 13 additions and 13 deletions

View File

@ -5,13 +5,13 @@
= yield_content :navigation
.sl-l-medium-holy-grail__main
.sl-l-x-large-holy-grail
.sl-l-x-large-holy-grail__body
- has_contents = current_page.data.table_of_contents ? 'sl-l-x-large-holy-grail__complementary--contents' : ''
%aside.sl-l-x-large-holy-grail__complementary(role='complementary'){class: has_contents}
.sl-l-large-holy-grail
.sl-l-large-holy-grail__body
- has_contents = current_page.data.table_of_contents ? 'sl-l-large-holy-grail__complementary--contents' : ''
%aside.sl-l-large-holy-grail__complementary(role='complementary'){class: has_contents}
= yield_content :complementary
.sl-l-x-large-holy-grail__main
.sl-l-large-holy-grail__main
- container = current_page.data.no_container ? '' : 'sl-l-container sl-l-container--small'
%div{class: container}
- if current_page.data.introduction

View File

@ -1,7 +1,7 @@
= wrap_layout :layout do
.sl-l-holy-grail
.sl-l-holy-grail__body
.sl-l-holy-grail__main
.sl-l-large-holy-grail
.sl-l-large-holy-grail__body
.sl-l-large-holy-grail__main
- container = current_page.data.no_container ? '' : 'sl-l-container sl-l-container--small'
%div{class: container}
- if current_page.data.introduction
@ -11,5 +11,5 @@
=yield
%aside.sl-l-holy-grail__complementary(role='complementary')
%aside.sl-l-large-holy-grail__complementary(role='complementary')
= yield_content :complementary

View File

@ -1,10 +1,10 @@
= wrap_layout :layout do
.sl-l-holy-grail
.sl-l-holy-grail__body
%nav.sl-l-holy-grail__navigation(role='navigation')
.sl-l-medium-holy-grail
.sl-l-medium-holy-grail__body
%nav.sl-l-medium-holy-grail__navigation(role='navigation')
= yield_content :navigation
.sl-l-holy-grail__main
.sl-l-medium-holy-grail__main
- container = current_page.data.no_container ? '' : 'sl-l-container sl-l-container--small'
%div{class: container}
- if current_page.data.introduction