Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<title><%= browser_title(yield(:title)) %></title>
<meta charset='<%= ::Refinery::Application.config.encoding %>' />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<%= raw "<meta name=\"description\" content=\"#{@meta.meta_description}\" />" if @meta.meta_description.present? -%>
<%= raw "<meta name=\"keywords\" content=\"#{@meta.meta_keywords}\">" if @meta.meta_keywords.present? -%>
<%= csrf_meta_tag if RefinerySetting.find_or_set(:authenticity_token_on_frontend, true)-%>
<%= yield :meta %>
<%= stylesheet_link_tag 'screen', :media => :screen %>
<%= yield :stylesheets %>
<!--[if lt IE 9]>
<%= stylesheet_link_tag 'ie', :media => :screen %>
<%= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js", 'selectivizr-min' %>
<![endif]-->
<%= stylesheet_link_tag 'print', :media => :print %>
<%= csrf_meta_tag %>
</head>
<body class="<%= "#{controller_name} #{action_name}" %>">
<%= render 'shared/site_bar' %>
<div id="root">
<div id="header_container">
<header id='header'>
<%= render "shared/header" %>
</header>
</div><!--#header_container-->
<div id="container" class="<%= yield :container_class %>">
<%= render 'shared/message' %>
<%= yield %>
</div>
<div id="root_footer"></div>
</div><!-- #root -->
<div id="full_footer">
<footer id='footer_container'>
<%= render "shared/footer" %>
</footer><!--#footer_container-->
</div><!--#full_footer-->
<%= render 'shared/javascripts' %>
<%= render 'shared/google_analytics' %>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment