Skip to content

Commit

Permalink
Merge pull request refinery#972 from keram/master
Browse files Browse the repository at this point in the history
Canonical tag in head
  • Loading branch information
parndt committed Sep 10, 2011
2 parents 81606bd + 7904470 commit 6850220
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/app/views/refinery/_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<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::Setting.find_or_set(:authenticity_token_on_frontend, true)-%>
<%= yield :meta %>
Expand Down

0 comments on commit 6850220

Please sign in to comment.