Merge remote-tracking branch 'upstream/pull/4876'

This commit is contained in:
Tom Hughes 2024-06-05 18:34:06 +01:00
commit 68ec92a8d7

View file

@ -4,8 +4,7 @@ module OpenGraphHelper
"og:site_name" => t("layouts.project_name.title"), "og:site_name" => t("layouts.project_name.title"),
"og:title" => [title, t("layouts.project_name.title")].compact.join(" | "), "og:title" => [title, t("layouts.project_name.title")].compact.join(" | "),
"og:type" => "website", "og:type" => "website",
"og:image" => image_url("osm_logo_256.png", :protocol => "http"), "og:image" => image_url("osm_logo_256.png"),
"og:image:secure_url" => image_url("osm_logo_256.png", :protocol => "https"),
"og:url" => url_for(:only_path => false), "og:url" => url_for(:only_path => false),
"og:description" => t("layouts.intro_text") "og:description" => t("layouts.intro_text")
} }