Skip to content

Instantly share code, notes, and snippets.

@Soldo
Created April 1, 2012 17:05
Show Gist options
  • Save Soldo/2277103 to your computer and use it in GitHub Desktop.
Save Soldo/2277103 to your computer and use it in GitHub Desktop.
<head>
<meta charset='<%= Rails.application.config.encoding %>' />
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
<title><%= browser_title(yield(:title)) %></title>
<%= 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? -%>
<%= raw(%(<link rel="canonical" content="#{@canonical}" />)) if @canonical.present? -%>
<%= csrf_meta_tags if Refinery::Core.authenticity_token_on_frontend -%>
<%= yield :meta %>
<%= stylesheet_link_tag "application", "formatting", "theme" %>
<%= stylesheet_link_tag "home" if home_page? %>
<%= stylesheet_link_tag "http://fonts.googleapis.com/css?family=Anton" %>
<%= stylesheet_link_tag "style" %>
<%= yield :stylesheets %>
<%= stylesheet_link_tag "screen" %>
<%= render '/refinery/google_analytics' %>
<%= javascript_include_tag 'tms-0.3' %>
<%= javascript_include_tag 'tms_presets' %>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment