Use PNG logo for og:image

This commit is contained in:
Tom Hughes 2015-10-27 11:49:06 +00:00
parent e62e879b3b
commit 18d26c0d81
3 changed files with 2 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

View file

@ -4,9 +4,8 @@ module OpenGraphHelper
"og:site_name" => t("layouts.project_name.title"),
"og:title" => [t("layouts.project_name.title"), title].compact.join(" | "),
"og:type" => "website",
"og:image" => image_path("osm_logo.svg", :host => SERVER_URL),
"og:image:width" => "200",
"og:image:height" => "200"
"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")
}
tags.map do |property, content|