sass-site/source/layouts/layout.haml

46 lines
1.4 KiB
Plaintext
Raw Normal View History

2013-10-09 12:30:53 +02:00
!!!
= partial "layouts/head/ie"
<!--[if gt IE 8]><!-->
2013-10-09 12:30:53 +02:00
%html.no-js(lang="en"){:class => data.page.head_classes}
<!--<![endif]-->
%head
%meta(charset="utf-8")/
2013-10-09 12:30:53 +02:00
%title= page_title
= partial "layouts/head/meta"
2013-10-14 21:52:40 +02:00
= partial "layouts/head/css"
= partial "layouts/head/js"
2013-10-09 12:30:53 +02:00
= partial "layouts/head/link"
2013-10-09 12:30:53 +02:00
%body{class: page_classes}
2012-11-28 12:59:42 +01:00
.page
2013-10-09 12:30:53 +02:00
= partial "layouts/regions/toolkit"
= partial "layouts/regions/browsehappy"
= partial "layouts/regions/alert"
.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
=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
2012-11-28 12:59:42 +01:00
2013-10-09 12:30:53 +02:00
.alert.release
.container
%ul
- if data.respond_to?(:version)
%li Current Release: <span class="release-name">#{data.version.name} (#{data.version.number})</span>
- else
%li Current Release: <span class="release-name">???</span>
%li=link_to "Release Notes", "/documentation/file.SASS_CHANGELOG.html"
2013-10-12 17:57:34 +02:00
%li=link_to "Fork on Github", "https://github.com/nex3/sass"
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"