Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/4883'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jun 9, 2024
2 parents 0b7435a + eeb7e02 commit 63a323d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/open_graph_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module OpenGraphHelper
def opengraph_tags(title = nil, og_image = nil)
tags = {
"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"),
"og:type" => "website",
"og:image" => og_image ? URI.join(root_url, og_image) : image_url("osm_logo_256.png"),
"og:url" => url_for(:only_path => false),
Expand Down

0 comments on commit 63a323d

Please sign in to comment.