X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..be0e33862fedbf02e52a9e126cac31dfb5775b43:/app/helpers/open_graph_helper.rb diff --git a/app/helpers/open_graph_helper.rb b/app/helpers/open_graph_helper.rb index ab7e230cb..11cfe5030 100644 --- a/app/helpers/open_graph_helper.rb +++ b/app/helpers/open_graph_helper.rb @@ -2,7 +2,7 @@ module OpenGraphHelper def opengraph_tags(title = nil) tags = { "og:site_name" => t("layouts.project_name.title"), - "og:title" => [t("layouts.project_name.title"), title].compact.join(" | "), + "og:title" => [title, t("layouts.project_name.title")].compact.join(" | "), "og:type" => "website", "og:image" => image_url("osm_logo_256.png", :protocol => "http"), "og:image:secure_url" => image_url("osm_logo_256.png", :protocol => "https"),