sass-site/source/layouts/has_complementary.haml

17 lines
692 B
Plaintext
Raw Normal View History

2018-10-23 15:06:39 -07:00
= wrap_layout :layout do
2018-12-27 19:12:55 -08:00
.sl-l-large-holy-grail
.sl-l-large-holy-grail__body
.sl-l-large-holy-grail__main
2018-12-27 16:31:28 -08:00
- container = current_page.data.no_container ? '' : 'sl-l-container sl-l-container--small'
%div{class: container}
2019-09-02 13:26:31 -07:00
= yield_content :before_introduction
2018-12-27 16:31:28 -08: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-23 15:06:39 -07:00
2018-12-28 16:29:22 -08:00
= Typogruby.improve(yield)
2018-10-23 15:06:39 -07:00
2019-12-12 18:52:14 -08:00
.sl-l-large-holy-grail__complementary
2018-10-26 23:37:10 -07:00
= yield_content :complementary