Skip to content

Instantly share code, notes, and snippets.

@benzittlau
Created April 8, 2011 03:02
Show Gist options
  • Save benzittlau/909208 to your computer and use it in GitHub Desktop.
Save benzittlau/909208 to your computer and use it in GitHub Desktop.
Sample application layout file from a typical rails projecst
<!DOCTYPE html>
<html>
<head>
<title>Spike</title>
<%= csrf_meta_tag %>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<%= stylesheet_link_tag 'blueprint/screen', :media => 'screen' %>
<%= stylesheet_link_tag 'blueprint/print', :media => 'print' %>
<!--[if lt IE 8]><%= stylesheet_link_tag 'blueprint/ie' %><![endif]-->
<%= stylesheet_link_tag 'custom', :media => 'screen' %>
<%= javascript_include_tag :defaults %>
</head>
<body>
<div class="container">
<section>
<%= yield %>
</section>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment