]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_meta.html.erb
Merge pull request #5331 from AntonKhorev/trace-badges-text-bg
[rails.git] / app / views / layouts / _meta.html.erb
index f09449761a4990c9226fb17c4b9cf64e4fc0d533..790d13fc380b03161f8ee59c0ed679559a68b31d 100644 (file)
@@ -21,7 +21,7 @@
 <% end -%>
 <%= 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(@title, @og_image, @og_image_alt) %>
+<%= opengraph_tags(@title, @opengraph_properties || {}) %>
 <% if flash[:matomo_goal] -%>
 <%= tag.meta :name => "matomo-goal", :content => flash[:matomo_goal] %>
 <% end -%>