sass-site/source/layouts/layout.haml

38 lines
1.0 KiB
Plaintext
Raw Normal View History

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