X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18d26c0d81f1d0e39e90e1339b73037762df4e6f..717f4e1b7b765d12dd5cc13bb8ae193d07a1637f:/app/helpers/open_graph_helper.rb diff --git a/app/helpers/open_graph_helper.rb b/app/helpers/open_graph_helper.rb index 61c3dc44b..e21a5648a 100644 --- a/app/helpers/open_graph_helper.rb +++ b/app/helpers/open_graph_helper.rb @@ -5,7 +5,9 @@ module OpenGraphHelper "og:title" => [t("layouts.project_name.title"), title].compact.join(" | "), "og:type" => "website", "og:image" => image_path("osm_logo_256.png", :host => SERVER_URL, :protocol => "http"), - "og:image:secure_url" => image_path("osm_logo_256.png", :host => SERVER_URL, :protocol => "https") + "og:image:secure_url" => image_path("osm_logo_256.png", :host => SERVER_URL, :protocol => "https"), + "og:url" => url_for(:host => SERVER_URL), + "og:description" => t("layouts.intro_text") } tags.map do |property, content|