mirror of
https://github.com/danog/sass-site.git
synced 2024-12-11 17:09:52 +01:00
11 lines
481 B
Plaintext
11 lines
481 B
Plaintext
= wrap_layout :layout do
|
|
- container = current_page.data.no_container ? '' : 'sl-l-container sl-l-container--small'
|
|
.docSearch-content{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)
|