-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-boilerplate.haml
49 lines (39 loc) · 1.55 KB
/
index-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
!!!
%html
%head
%meta{:charset=>"utf-8"}
%meta{:"http-equiv"=>"a", :content=>"IE=edge"}
%title
NUbots Codebase
%meta{:name=>"description", :content=>""}
%meta{:name=>"viewport", :content=>"width=device-width, initial-scale=1"}
%link{:rel=>"stylesheet", :href=>"css/normalize.css"}
%link{:rel=>"stylesheet", :href=>"css/main.css"}
%link{:rel=>"stylesheet", :href=>"css/styles.css"}
%script{:src=>"js/vendor/modernizr-2.6.2.min.js"}
%body
/[if lt IE 7]
%p.browsehappy
You are using an <strong>outdated</strong> browser. Please
%a{:href=>"http://browsehappy.com/"}
upgrade your browser
to improve your experience.
/ Add your site or application content here
%p
Hello world! This is HTML5 Boilerplate.
- [1, 2, 3].each do |entry|
%h3= entry
= Haml::Engine.new(File.read('LICENSE.md')).render
%script{:src=>"//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"}
%script
window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')
%script{:src=>"js/plugins.js"}
%script{:src=>"js/main.js"}
/ Google Analytics: change UA-XXXXX-X to be your site's ID.
%script
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');