This repository has been archived by the owner on May 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.haml
85 lines (74 loc) · 3.02 KB
/
layout.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
!!! 5
/[if lt IE 7] <html lang="en" class="no-js ie6">
/[if IE 7 ] <html lang="en" class="no-js ie7">
/[if IE 8 ] <html lang="en" class="no-js ie8">
/[if IE 9 ] <html lang="en" class="no-js ie9">
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
%head
%meta{:charset => 'utf-8'}
%title
= @title || "Dahlstrøm product design"
%meta{ :author => 'description', :content => 'The online presence of Kenneth D. Nordahl'}
%meta{ :name => 'viewport', :content => 'width=device-width, initial-scale=1.0'}
%link{:rel => "stylesheet", :media => "screen", :type => "text/css", :href => "/assets/application.css"}
%link{:rel => "stylesheet", :media => "print", :type => "text/css", :href => "/assets/print.css"}
%script{:src => 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'}
%script{:src => '/assets/application.js'}
%link{:rel => "icon", :type => "image/png", :href => "/favicon.png"}
%meta{:content => "y40Sgf6_RLfdiKhmWRQ_fuPxj94uCLmCOiHb41Km2ig", :name => "google-site-verification"}/
%body#body
-# Print preview
-# %a{:href => "#", :onclick => "print_preview(); return false;"} Print this page
%header#header
%a{:href => 'http://dpd.im', :rel => "internal"}
%h1 <span class="gray">Dahlstrøm</span><span class="blue">Product</span><span class="red">design</span>
=yield
%footer#footer
-#%ul.technology
-# %li
-# %a{:href => 'http://github.com/KDN/nordahl.me', :rel => "external"}
-# Source code
-# %li
-# |
-# %a{:href => 'http://scalable.gs', :rel => "external"}
-# Scalable.gs
-# %li
-# |
-# %a{:href => 'http://minimalrb.com', :rel => "external"}
-# minimalRB
%small{:rel => "copyright"}
Copyright 2012 | <a href="http://dpd.im" rel="internal">Dahlstrøm Product Design</a>
=# yield_content :some_key
-#%script
-# window.onload = function() {
-# -# js onload
-# #{ yield_content :js_onload }
-# };
-# -# other JS
-# #{ yield_content :js_footer }
/ :javascript
/ var _gaq = _gaq || [];
/ _gaq.push(['_setAccount', 'UA-28587675-1']);
/ _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);
/ })();
:javascript
var GoSquared = {};
GoSquared.acct = "GSN-822854-O";
(function(w){
function gs(){
w._gstc_lt = +new Date;
var d = document, g = d.createElement("script");
g.type = "text/javascript";
g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
var s = d.getElementsByTagName("script")[0];
s.parentNode.insertBefore(g, s);
}
w.addEventListener ?
w.addEventListener("load", gs, false) :
w.attachEvent("onload", gs);
})(window);
</html>