Created
August 21, 2013 05:53
-
-
Save adamstac/6290750 to your computer and use it in GitHub Desktop.
Application layout template for a Rails based iOS web application
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
<!DOCTYPE html> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if lt IE 7 ]> <html class="ie6" lang="en"> <![endif]--> | |
<!--[if IE 7 ]> <html class="ie7" lang="en"> <![endif]--> | |
<!--[if IE 8 ]> <html class="ie8" lang="en"> <![endif]--> | |
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<!-- Not letterboxed on iPhone 5 --> | |
<meta name="viewport" | |
content="initial-scale=1.0"> | |
<meta name="viewport" | |
content="width=320.1"> | |
<title><%= content_for?(:title) ? yield(:title) : "My Application" %></title> | |
<%= stylesheet_link_tag "application" %> | |
<%= javascript_include_tag "vendor/custom.modernizr" %> | |
<%= csrf_meta_tags %> | |
</head> | |
<body> | |
<%= yield %> | |
<%= javascript_include_tag "application" %> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment