Add og:description to OpenGraph tags

This commit is contained in:
Tom Hughes 2015-10-27 11:57:40 +00:00
parent c8640c8f82
commit 243129b671

View file

@ -6,7 +6,8 @@ module OpenGraphHelper
"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:url" => url_for(:host => SERVER_URL)
"og:url" => url_for(:host => SERVER_URL),
"og:description" => t("layouts.intro_text")
}
tags.map do |property, content|