devroom.io/layouts/default.haml
2013-03-24 21:41:19 +01:00

112 lines
5.0 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 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'
%nav
%ul#navigation
%li
%a{:href => "/"}
%span{:style => "border-color:#ff9108;"} Blog
%li.drop
%a{:href => "/projects"}
%span{:style => "border-color:#ebe823;"} Projects
%ul
%li
%a{:href => "/projects#focal"}
%span Focal
%li
%a{:href => "/projects#firefly"}
%span Firefly
%li
%a{:href => "/projects#imdb"}
%span IMDB Rubygem
%li
%a{:href => "/craftsmanship"}
%span{:style => "border-color:#ffeb79;"} Craftsmanship
%li
%a{:href => "/talks"}
%span{:style => "border-color:#a0e0a9;"} Talks
%li
%a{:href => "/about"}
%span{:style => "border-color:#00ada7;"} About
.cl
/ __________________________________________________ Finish Header
/ __________________________________________________ Start Middle
%section#middle
= 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.dodownload.net/mobile-software/jailbreak-and-ios-5-1-downloads.html">Jailbreak and IOS 5 Downloads</a></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);
})();