Created
August 17, 2011 15:18
-
-
Save nicinabox/1151752 to your computer and use it in GitHub Desktop.
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> | |
<html> | |
<head> | |
<title><%= browser_title(yield(:title)) %></title> | |
<% unless Rails.env == "production" %> | |
<meta name="robots" content="noindex" /> | |
<% end %> | |
<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', 'formatting', :media => :screen %> | |
<%= yield :stylesheets %> | |
<!--[if lt IE 9]> | |
<%= javascript_include_tag 'http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js' %> | |
<%= stylesheet_link_tag 'ie', :media => :screen %> | |
<%= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js" %> | |
<![endif]--> | |
<%= stylesheet_link_tag 'print', :media => :print %> | |
<%= csrf_meta_tag %> | |
</head> | |
<body class="<%= "#{controller_name} #{action_name} #{@page.try(:to_param)}" %>"> | |
<%= render 'shared/site_bar' %> | |
<div id="root"> | |
<div id="header_container"> | |
<%= render "shared/header" %> | |
</div><!--#header_container--> | |
<div id="main" class="<%= yield :main_class %>"> | |
<%= render 'shared/message' unless @comment.present? %> | |
<%= yield %> | |
</div> | |
<div id="root_footer"></div> | |
</div><!-- #root --> | |
<div id="full_footer"> | |
<footer id='footer_container' class="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