!!! 5 / paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ /[if lt IE 7 ] /[if IE 7 ] /[if IE 8 ] /[if IE 9 ] /[if (gt IE 9)|!(IE)] %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_tag %body = yield = javascript_include_tag "application" :plain