devroom.io/layouts/default.haml
2013-03-22 23:53:57 +01:00

47 lines
1.8 KiB
Plaintext

!!! 5
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
%html.no-js
<!--<![endif]-->
%head
%meta{ :charset => "utf-8" }
%meta{ "http-equiv" => "X-UA-Compatible", :content => "IE=edge,chrome=1" }
%title ariejan.net - #{@item[:title]}
%meta{ :name => "description", :content => "" }
%meta{ :name => "author", :content => "" }
%meta{ :name => "generator", :content => "nanoc #{Nanoc::VERSION}" }
%meta{ :name => "viewport", :content => "width=device-width" }
-# Place favicon.ico and apple-touch-icon.png in the root directory
%link{ :rel => "stylesheet", :href => "/css/style.css" }
%script{ :src => "/js/vendor/modernizr.js" }
%body
/[if lt IE 7 ]
%p.chromeframe
You are using an <strong>outdated</strong> browser.
Please <a href="http://browsehappy.com/">upgrade your browser</a> or
<a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a>
to improve your experience.
#sidebar
%ul
%li asdf
%li narf
#content
= yield
%script{ :src => "//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" }
:javascript
window.jQuery || document.write('<script src="/js/vendor/jquery.js"><\/script>')
%script{ :src => '/js/application.js' }
-# Google Analytics: change UA-XXXXX-X to be your site's ID.
:javascript
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));