Created
September 9, 2016 09:04
-
-
Save warengonzaga/5a50294587e03ff6809bd24618279320 to your computer and use it in GitHub Desktop.
This is the Haml version of HTML5 Boilerplate.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
%html.no-js{:lang => ""} | |
%head | |
%meta{:charset => "utf-8"}/ | |
%meta{:content => "ie=edge", "http-equiv" => "x-ua-compatible"}/ | |
%title | |
%meta{:content => "", :name => "description"}/ | |
%meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}/ | |
%link{:href => "apple-touch-icon.png", :rel => "apple-touch-icon"}/ | |
/ Place favicon.ico in the root directory | |
%link{:href => "css/normalize.css", :rel => "stylesheet"}/ | |
%link{:href => "css/main.css", :rel => "stylesheet"}/ | |
%script{:src => "js/vendor/modernizr-2.8.3.min.js"} | |
%body | |
/[if lt IE 8] | |
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> | |
/ Add your site or application content here | |
%p Hello world! This is HTML5 Boilerplate. | |
%script{:src => "https://code.jquery.com/jquery-1.12.4.min.js"} | |
:javascript | |
window.jQuery || document.write('<script src="js/vendor/jquery-1.12.4.min.js"><\/script>') | |
%script{:src => "js/plugins.js"} | |
%script{:src => "js/main.js"} | |
/ Google Analytics: change UA-XXXXX-Y to be your site's ID. | |
:javascript | |
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date; | |
ga('create','UA-XXXXX-Y','auto');ga('send','pageview') | |
%script{:async => "", :defer => "defer", :src => "https://www.google-analytics.com/analytics.js"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment