Sha256: e759ba68cc3714798dc3bf6c4a53386b2f0ffcbd5def1ab5126df58316ace7d3

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

<head>
  <meta charset='<%= ::Refinery::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? -%>
  <%= csrf_meta_tag if RefinerySetting.find_or_set(:authenticity_token_on_frontend, true)-%>
  <%= yield :meta %>

  <%= stylesheet_link_tag stylesheets_for_head(stylesheets||=%w(application formatting theme), theme ||= nil),
                          :cache => ("cache/application" if Rails.root.writable? and
                                                            RefinerySetting.find_or_set(:use_resource_caching, true) and
                                                            request.env['HTTP_USER_AGENT'] !~ /MSIE/ and (theme ||= nil).blank?) %>
  <%= stylesheet_link_tag "home", :theme => theme if home_page? %>

  <%= yield :stylesheets %>
  <%= render :partial => '/shared/google_analytics' unless local_request? %>

  <%= javascript_include_tag 'modernizr-min' %>
</head>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-core-1.0.11 app/views/shared/_head.html.erb
refinerycms-core-1.0.10 app/views/shared/_head.html.erb
refinerycms-core-1.0.9 app/views/shared/_head.html.erb