Created
August 29, 2010 19:00
-
-
Save twmills/556570 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| !!! 5 | |
| %html{:lang => 'en', :class => 'no-js'} | |
| %head | |
| %meta{ :charset => 'utf-8' } | |
| /[if IE] | |
| %meta{ "http-equiv" => 'X-UA-Compatible', :content => 'IE=edge,chrome=1' } | |
| %title Theo W. Mills | |
| %meta{ :name => 'description', :content => '' } | |
| %meta{ :name => 'author', :content => '' } | |
| %meta{ :name => 'viewport', :content => 'width=device-width; initial-scale=1.0; maximum-scale=1.0;' } | |
| %link{ :rel => 'shortcut icon', :href => 'favicon.ico' } | |
| %link{ :rel => 'apple-touch-icon', :href => 'apple-touch-icon.png' } | |
| = stylesheet_link_tag 'style', 'screen', 'handheld' | |
| %script{ :src => '/js/modernizr-1.5.min.js'} | |
| /[if lt IE 7 ] | |
| %body.ie6 | |
| /[if IE 7 ] | |
| %body.ie7 | |
| /[if IE 8 ] | |
| %body.ie8 | |
| /[if IE 9 ] | |
| %body.ie9 | |
| /[if (gt IE 9)|!(IE)] | |
| %body | |
| #container | |
| %header | |
| #main | |
| #content | |
| %h1 New Application | |
| = yield :layout | |
| %footer | |
| %script{ :src => "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" } | |
| :javascript | |
| !window.jQuery && document.write('<script src="/js/jquery-1.4.2.min.js"><\/script>') | |
| %script{ :src => "/js/plugins.js?v=1" } | |
| %script{ :src => "/js/script.js?v=1" } | |
| /[if lt IE 7 ] | |
| %script{ :src => "/js/dd_belatedpng.js?v=1"} | |
| %script{ :src => "js/profiling/yahoo-profiling.min.js?v=1" } | |
| %script{ :src => "js/profiling/config.js?v=1" } | |
| :javascript | |
| var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']]; | |
| (function(d, t) { | |
| var g = d.createElement(t), | |
| s = d.getElementsByTagName(t)[0]; | |
| g.async = true; | |
| g.src = '//www.google-analytics.com/ga.js'; | |
| s.parentNode.insertBefore(g, s); | |
| })(document, 'script'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment