Use canonical-rails gem to generate canonical URLs
This commit is contained in:
parent
ce209c8c4f
commit
24271b75bd
4 changed files with 46 additions and 19 deletions
|
@ -24,7 +24,7 @@
|
|||
<%= tag("meta", { :name => "msapplication-TileColor", :content => "#00a300" }) %>
|
||||
<%= tag("meta", { :name => "msapplication-TileImage", :content => image_path("mstile-144x144.png") }) %>
|
||||
<%= tag("meta", { :name => "theme-color", :content => "#ffffff" }) %>
|
||||
<%= tag("link", { :rel => "canonical", :href => root_url(:host => SERVER_URL) }) %>
|
||||
<%= canonical_tag %>
|
||||
<%= tag("link", { :rel => "publisher", :href => "https://plus.google.com/111953119785824514010" }) %>
|
||||
<%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => asset_path("osm.xml") }) %>
|
||||
<%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue