mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
fix other layouts
This commit is contained in:
parent
17077282d3
commit
a139d47482
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user