mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 12:35:03 +01:00
17 lines
692 B
Plaintext
17 lines
692 B
Plaintext
= wrap_layout :layout do
|
|
.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}
|
|
= yield_content :before_introduction
|
|
- if current_page.data.introduction
|
|
- center_introduction = current_page.data.center_introduction ? 'sl-c-introduction--center' : ''
|
|
.sl-c-introduction{class: center_introduction}
|
|
= markdown_wrap current_page.data.introduction
|
|
|
|
= Typogruby.improve(yield)
|
|
|
|
.sl-l-large-holy-grail__complementary
|
|
= yield_content :complementary
|