From: Tom Hughes Date: Thu, 5 Nov 2015 11:44:08 +0000 (+0000) Subject: Pass title to opengraph routine X-Git-Tag: live~3997 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/82b4c8e3f08697abdb62dd037f72085c9154d5b0 Pass title to opengraph routine --- diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index bd2ad441d..118100df6 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -26,7 +26,7 @@ <%= 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." }) %> - <%= opengraph_tags %> + <%= opengraph_tags(@title) %> <% if flash[:piwik_goal] -%> <%= tag("meta", :name => "piwik-goal", :content => flash[:piwik_goal]) %> <% end -%>