From b8938ea15afc863b212012aa842c3533184157b3 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 13 Aug 2013 16:03:48 -0700 Subject: [PATCH] Add an og:image meta tag Without this, links to OpenStreetMap.org shared via Facebook default to the ad image. Fixes systemed/iD#1644 --- app/views/layouts/_head.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 84f566e81..83f1087dd 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -15,6 +15,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." }) %> + <%= tag("meta", :property => "og:image", :content => image_path("osm_logo.png")) %> <% if flash[:piwik_goal] -%> <%= tag("meta", :name => "piwik-goal", :content => flash[:piwik_goal]) %> <% end -%> -- 2.43.2