-
-
Save stream7/1239463 to your computer and use it in GitHub Desktop.
html5boilerplate in slim for rails
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
doctype html | |
/[if lt IE 7] | |
| <html class="no-js ie6 oldie" lang="en"> | |
/[if IE 7] | |
| <html class="no-js ie7 oldie" lang="en"> | |
/[if IE 8] | |
| <html class="no-js ie8 oldie" lang="en"> | |
/[if gte IE 8] | |
| <html class="no-js" lang="en"> | |
head | |
meta charset="utf-8" | |
meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" | |
title= "Site | #{yield :page_title}" | |
meta name="description" content="#{yield :meta_description}" | |
meta name="author" content="Will Langstroth" | |
meta name="keywords" content="" | |
meta name="viewport" content="width=device-width, initial-scale=1" | |
= stylesheet_link_tag :application | |
= csrf_meta_tag | |
= javascript_include_tag "libs/modernizr-2.0.6.min.js" | |
body | |
#container | |
header | |
#main role="main" | |
= yield | |
footer | |
script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js" | |
javascript: | |
window.jQuery || document.write("<script src='/javascripts/jquery-1.6.2.min.js'>\\x3C/script>") | |
= javascript_include_tag :application | |
/[if lt IE 7] | |
script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js" | |
javascript: | |
window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})}) | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment