sass-site/source/layouts/has_no_sidebars.haml
Natalie Weizenbaum 488d656af3 Add a docsearch class to the has_no_sidebars layout
This ensures the Ruby Sass, Dart Sass, and Install pages get indexed.
2019-03-07 11:51:42 -08:00

10 lines
440 B
Plaintext

= wrap_layout :layout do
- container = current_page.data.no_container ? '' : 'sl-l-container sl-l-container--small'
.docSearch-content{class: container}
- 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)