sass-site/old_source/layouts/has_no_sidebars.haml

11 lines
481 B
Plaintext
Raw Normal View History

2018-10-24 00:06:39 +02:00
= wrap_layout :layout do
2018-12-28 01:31:28 +01:00
- container = current_page.data.no_container ? '' : 'sl-l-container sl-l-container--small'
.docSearch-content{class: container}
2019-09-02 22:26:31 +02:00
= yield_content :before_introduction
2018-12-28 01:31:28 +01:00
- 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
2018-10-24 00:06:39 +02:00
2018-12-29 01:29:22 +01:00
= Typogruby.improve(yield)