devroom.io/layouts/default.haml
2013-04-12 20:44:52 +02:00

96 lines
4.3 KiB
Plaintext

!!!
/[if lt IE 7] <html dir="ltr" lang="en-US" class="ie6">
/[if IE 7] <html dir="ltr" lang="en-US" class="ie7">
/[if IE 8] <html dir="ltr" lang="en-US" class="ie8">
/ [if gt IE 8]><!
%html{:dir => "ltr", :lang => "en-US"}
/ <![endif]
%head
%meta{:charset => 'utf-8'}
%meta{:content => "text/html;charset=utf-8", "http-equiv" => "content-type"}
%meta{:content => "a blog by ariejan de vroom about software engineering and craftsmanship.", :name => "description"}
%meta{:content => "software engineering, programming, craftsmanship, devops, ruby, rubyonrails, rails, git, svn, postgres, postgresql, mysql, mac, ios, apple, web2.0, go, golang", :name => "keywords"}
%meta{:content => "width=device-width, initial-scale=1, maximum-scale=1", :name => "viewport"}
%meta{:content => "3bgidck6YUMyx-kvL_a8E4ry0DJOAIOYaZkZxQ0kZw4", :name => "google-site-verification"}
%link(href='http://www.myopenid.com/server' rel='openid.server')
%link(href='http://ariejan.myopenid.com/' rel='openid.delegate')
%link{:href => "/images/favicon.ico", :rel => "shortcut icon", :type => "image/x-icon"}
%link{:rel => "alternate", :type => "application/rss+xml", :title => "RSS", :href => "http://ariejan.net/rss.xml"}
%link{:href => "/css/style.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
%link{:href => "http://fonts.googleapis.com/css?family=Open+Sans:400,600,800,400italic", :rel => "stylesheet", :type => "text/css"}
/[if lt IE 9]
<link rel="stylesheet" href="/css/ie.css" type="text/css" />
<link rel="stylesheet" href="/css/ieCss3.css" type="text/css" media="screen" />
%script{:src => "/js/application.js", :type => "text/javascript"}
%title= "#{@item[:title]} — ariejan.net"
%body
/ __________________________________________________ Start Page
%section#page
%a#slide_top{:href => "#"}
.container
/ __________________________________________________ Start Header
%header#header
.header_inner
%a.logo{:href => "/"}
%img{:alt => "", :src => "/images/logo.png"}/
.custom_html
%h3{:style => "color:#ffffff; margin:0; line-height:24px;"} May the Source be with you.
= render 'social_list'
.nav_wrap
.nav_wrap_inner
.responsibe_block
.responsibe_block_inner
%a.resp_navigation{:href => "#"}
= render 'social_list'
= render "navigation"
.cl
/ __________________________________________________ Finish Header
/ __________________________________________________ Start Middle
%section#middle
.headline
.three_fourth
%h2= @item[:title]
.one_fourth.last
.search-box
%form{action: "http://www.google.com/cse", id: "cse-search-box"}
%input{type: "hidden", name: "cx", value: "011455777682120765364:szqyrcy79dw"}
%input{type: "hidden", name: "ie", value: "UTF-8"}
%input#google-search-box{name: "q", placeholder: "Search site", type: "search"}/
.cl
= yield
/ __________________________________________________ Finish Middle
/ __________________________________________________ Finish Page
/ __________________________________________________ Start Footer
%footer#footer
.footer_inner
%p
ariejan.net &copy; 1999 - #{Time.now.year} Ariejan de Vroom
%ul.tla
:plain
<li>Some messages from the Dark Side:</li>
<li><a href="http://www.healthy-dietplans.com/coupons/medifast-promo-codes/">Medifast Coupon Code</a></li>
/ __________________________________________________ Finish Footer
%script{:src => "/js/plugins.js", :type => "text/javascript"}
:javascript
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-60089-16']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();