Skip to content

Commit 8ab63c9

Browse files
committed
HAML supported.
1 parent f6b3566 commit 8ab63c9

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

cool-head.haml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
!!! 5
2+
%html{'lang' => 'en-US', 'dir' => 'ltr'}
3+
%head
4+
%meta{'charset' => 'UTF-8'}/
5+
%meta{:name => "viewport", :content => "width=device-width"}
6+
%title cool-head
7+
%meta{:name => "keywords", :content => ""}
8+
%meta{:name => "description", :content => ""}
9+
%meta{:name => "robots", :content => "noindex,nofollow"}
10+
%meta{:name => "apple-mobile-web-app-capable", :content => "no"}
11+
%meta{:name => "Rating", :content => "Safe For Kids"}
12+
%meta{:name => "revisit-after", :content => "1 days"}
13+
%meta{:name => "author", :content => ""}
14+
%meta{:name => "generator", :content => ""}
15+
%link{:rel => "apple-touch-icon", :size => "57x57", :href => "/apple-touch-icon-57x57.png"}
16+
%link{:rel => "apple-touch-icon", :size => "72x72", :href => "/apple-touch-icon-72x72.png"}
17+
%link{:rel => "apple-touch-icon", :size => "114x114", :href => "/apple-touch-icon-114x114.png"}
18+
%link{:rel => "stylesheet", :href => "css/style.css"}
19+
%link{:rel => "alternate", :typr => "application/rss+xml", :title => "RSS Feed", :href => "css/style.css"}
20+
%link{:rel => "canonical", :href => ""}
21+
%link{:rel => "prev", :href => ""}
22+
%link{:rel => "next", :href => ""}
23+
24+
%script{:src => "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"}
25+
:javascript
26+
!window.jQuery && document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')
27+
:javascript
28+
// here the pre-load JS starts.
29+
var Hello = 'World!';
30+
// Google analytics code
31+
var _gaq = _gaq || [];
32+
_gaq.push(['_setAccount', 'UA-00000000-0']);
33+
_gaq.push(['_trackPageview']);
34+
35+
(function() {
36+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
37+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google- analytics.com/ga.js';
38+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
39+
})();
40+
%body
41+
%header
42+
header
43+
%article
44+
%p body
45+
%footer
46+
footer
47+
:javascript
48+
// here the post-load JS starts.

0 commit comments

Comments
 (0)