sass-site/source/layouts/layout.haml

34 lines
927 B
Plaintext
Raw Normal View History

2014-07-27 18:58:17 -07:00
!!!5
2013-10-09 06:30:53 -04:00
%html.no-js(lang="en"){:class => data.page.head_classes}
%head
%meta(charset="utf-8")/
2014-07-27 18:58:17 -07:00
%meta(http-equiv="X-UA-Compatible" content="IE=edge")/
2013-10-09 06:30:53 -04:00
%title= page_title
= partial "layouts/head/meta"
2014-07-27 19:34:14 -07:00
= partial "layouts/head/link"
2013-10-14 15:52:40 -04:00
= partial "layouts/head/css"
= partial "layouts/head/js"
2013-10-09 06:30:53 -04:00
%body{class: page_classes}
2012-11-28 03:59:42 -08:00
.page
2014-07-27 19:34:14 -07:00
= partial "layouts/roles/alert"
2013-10-09 06:30:53 -04:00
.pop-stripe
= partial "layouts/regions/banner"
= partial "layouts/regions/page_header"
2012-11-29 09:33:08 -08:00
2013-10-12 17:54:15 -04:00
.body
2018-10-23 15:06:39 -07:00
.sl-l-container=yield
2013-10-12 17:39:55 -04:00
2013-10-12 17:54:15 -04:00
- if content_for?(:section_middle)
%section.section-middle
2018-10-23 15:06:39 -07:00
.sl-l-container= yield_content :section_middle
2014-07-22 15:27:15 -07:00
= partial "layouts/regions/release"
2013-10-09 06:30:53 -04:00
2013-10-12 17:39:55 -04:00
- if content_for?(:section_bottom)
%section.section-bottom
2018-10-23 15:06:39 -07:00
.sl-l-container= yield_content :section_bottom
2013-10-12 17:39:55 -04:00
2013-10-09 06:30:53 -04:00
= partial "layouts/regions/contentinfo"
2013-10-14 15:52:40 -04:00
= partial "layouts/foot/js"