forked from jameslutley/haml-html5-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboilerplate.haml
139 lines (92 loc) · 5.19 KB
/
boilerplate.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
!!! 5
-# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
-# <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
-# <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
-# <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
-# <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
%html.no-js{:lang => "en"}
%head
-# ==========================================================================
-# Head
-# ==========================================================================
%meta{:charset => "utf-8"}
%title
%meta{:name => "description", :content => ""}
-# %meta{:name => "keywords", :content => ""}
-# %meta{:name => "author", :content => ""}
-# Mobile
-# ==========================================================================
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1"}
-# %meta{:name => "HandheldFriendly", :content => "True"}
-# %meta{:name => "MobileOptimized", :content => "320"}
-# iOS web app
-# %meta{:name => "apple-mobile-web-app-capable", :content => "yes"}
-# %meta{:name => "apple-mobile-web-app-status-bar-style", :content => "black"}
-# %link{:rel => "apple-touch-startup-image", :href => "/img/touch/startup.png"}
-# RSS
-# ==========================================================================
-# %link{:rel => "alternate", :type => "application/rss+xml", :title => "RSS", :href => "http://feeds.feedburner.com/FEEDNAME"}
-# Favicon
-# ==========================================================================
%link{:href => "/favicon.ico", :rel => "shortcut icon"}
-# iPad 3 Retina Display
-# %link{:rel => "apple-touch-icon-precomposed", :sizes => "144x144", :href => "/img/touch/apple-touch-icon-144x144-precomposed.png"}
-# iPhone 4 Retina display
-# %link{:rel => "apple-touch-icon-precomposed", :sizes => "114x114", :href => "/img/touch/apple-touch-icon-114x114-precomposed.png"}
-# iPad non-Retina display
-# %link{:rel => "apple-touch-icon-precomposed", :sizes => "72x72", :href => "/img/touch/apple-touch-icon-72x72-precomposed.png"}
-# Non-Retina iPhone, iPod Touch, Android 2.1+
-# %link{:rel => "apple-touch-icon-precomposed", :href => "/img/touch/apple-touch-icon-57x57-precomposed.png"}
-# Nokia
-# %link{:rel => "shortcut icon", :href => "/img/touch/apple-touch-icon.png"}
-# CSS
-# ==========================================================================
%link{:rel => "stylesheet", :href => "/css/base.css"}
-# %link{:rel => "stylesheet", :media => "only screen and (min-width: 45em)", :href => "/css/widescreen.css"}
-# IE Fixes
-# ==========================================================================
-#
-# Use HTML5 Shim polyfill if not using Modernizr
-# Compiled IE stylesheets for legacy IE "Mobile first" support (using SASS)
-# nicolasgallagher.com/mobile-first-css-sass-and-ie/
-#
-# /[if (lt IE 9) & (!IEMobile)]
-# %script{:src => "//html5shim.googlecode.com/svn/trunk/html5.js"}
%script{:src => "/js/libs/selectivizr.min.js"}
-# %link{:rel => "stylesheet", :href => "/css/oldie.css"}
-# %link{:rel => "stylesheet", :href => "/css/ie8.css"}
-# [if (lt IE 8) & (!IEMobile)]
%link{:rel => "stylesheet", :href => "/css/ie7.css"}
-# [if IE 6 & (!IEMobile)]
%link{:rel => "stylesheet", :href => "/css/ie6.css"}
-# JS
-# ==========================================================================
-# Typekit - change XXXXXXX to be your site's Typekit Kit ID
-# %script{:src => "http://use.typekit.com/XXXXXXX.js"}
-# :javascript
try{Typekit.load();}catch(e){}
-# Modernizr
-# %script{:src => "/js/libs/modernizr.custom.js"}
%body
-# ==========================================================================
-# Content
-# ==========================================================================
-# = yield
-# JS
-# ==========================================================================
-# jQuery
-# %script{:src => "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"}
-# :javascript
window.jQuery || document.write('<script src="/js/jquery-1.7.2.min.js"><\/script>')
-# Custom JS
-# %script{:src => "/js/app.js"}
-#
-# Asynchronous Google Analytics
-# Change UA-XXXXX-X to be your site's ID
-# mathiasbynens.be/notes/async-analytics-snippet
-#
-# :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'));