Add og:url to OpenGraph tags
This commit is contained in:
parent
18d26c0d81
commit
c8640c8f82
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ 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)
|
||||
}
|
||||
|
||||
tags.map do |property, content|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue