Created
March 30, 2013 21:11
-
-
Save weimeng/5278349 to your computer and use it in GitHub Desktop.
Cleaner version of the HTML5 Boilerplate Slim Ruby on Rails application.html template for Zurb Foundation 4.0. Thanks to https://gist.github.com/helloluis/1183106/#comment-375706.
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 | |
/ paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ | |
/[if lt IE 7] | |
html.ie6 lang="en" | |
/[if IE 7] | |
html.ie7 lang="en" | |
/[if IE 8] | |
html.ie8 lang="en" | |
/[if IE 9] | |
html.ie9 lang="en" | |
| <!--[if (gt IE 9)|!(IE)]><!--> | |
html lang="en" | |
| <!--<![endif]--> | |
head | |
meta charset="utf-8" | |
/ Uncomment to make IE8 render like IE7 | |
/ meta http-equiv="X-UA-Compatible" content="IE=7" | |
/ Set the viewport width to device width for mobile | |
meta name="viewport" content="width=device-width, initial-scale=1.0" | |
title= content_for?(:title) ? yield(:title) : "Untitled" | |
= stylesheet_link_tag "application" | |
= javascript_include_tag "vendor/custom.modernizr" | |
= csrf_meta_tags | |
body | |
== yield | |
= javascript_include_tag "application" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment