X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0f50292784a4353e883ddc3771e52b8d4b8a4133..f01cbc68c286b947d7b4e9971a518b26051a3ef2:/app/views/layouts/_meta.html.erb diff --git a/app/views/layouts/_meta.html.erb b/app/views/layouts/_meta.html.erb index f09449761..4c88887f9 100644 --- a/app/views/layouts/_meta.html.erb +++ b/app/views/layouts/_meta.html.erb @@ -1,4 +1,3 @@ -<%= favicon_link_tag "favicon.ico" if browser.ie? %> <% [57, 60, 72, 76, 114, 120, 144, 152, 180].each do |size| -%> <%= favicon_link_tag "apple-touch-icon-#{size}x#{size}.png", :rel => "apple-touch-icon", :sizes => "#{size}x#{size}", :type => "image/png" %> <% end -%> @@ -21,7 +20,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 -%>