]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/open_graph_helper.rb
Merge remote-tracking branch 'upstream/pull/4565'
[rails.git] / app / helpers / open_graph_helper.rb
index b3f0ab92849e81be230992c0e3ff1f524258cc64..cde848e5d13762ac718431632aaf44c597c3bf54 100644 (file)
@@ -10,6 +10,8 @@ module OpenGraphHelper
       "og:description" => properties["og:description"] || t("layouts.intro_text")
     }.merge(
       opengraph_image_properties(properties)
       "og:description" => properties["og:description"] || t("layouts.intro_text")
     }.merge(
       opengraph_image_properties(properties)
+    ).merge(
+      properties.slice("article:published_time")
     )
 
     safe_join(tags.map do |property, content|
     )
 
     safe_join(tags.map do |property, content|