Files
markamoser.com/source/layouts/layout.html.haml
2014-09-20 13:55:31 -05:00

35 lines
1.0 KiB
Plaintext

!!!
/[if lt IE 7] <html class="no-js lt-ie9 lt-ie8 lt-ie7">
/ [if IE 7] <html class="no-js lt-ie9 lt-ie8"> <![endif]
/ [if IE 8] <html class="no-js lt-ie9"><![endif]
%html
%head
%meta{charset: "utf-8"}/
%meta{content: "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
%meta{content: "width=device-width,initial-scale=1.0", name: "viewport"}/
%meta{content: page_description, name: "description"}/
%meta{content: page_keywords, name: "keywords"}/
%title= page_title
= stylesheet_link_tag "all"
= javascript_include_tag "vendor/modernizr"
= partial "shared/analytics"
- unless current_page.data.poster.nil?
:css
.poster { background-image: url(#{ current_page.data.poster });}
= yield_content :head
%body{class: page_classes}
/[if lt IE 8]
<haml_loud> partial "shared/compatibility-notice" </haml_loud>
= partial "shared/header"
- if current_page.data.poster.nil?
.spacer-50
- else
.poster
.container
= yield
.spacer-50
= javascript_include_tag "app"