From 03b6b034b95b9ee2ce4a80c3b9c724273dcb0072 Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Thu, 24 Sep 2020 14:32:13 -0700 Subject: [PATCH] add og:published_time to opengraph meta tags (#14865) --- app/views/statuses/show.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/statuses/show.html.haml b/app/views/statuses/show.html.haml index 873df7fbd..7ef7b09a2 100644 --- a/app/views/statuses/show.html.haml +++ b/app/views/statuses/show.html.haml @@ -12,6 +12,7 @@ = opengraph 'og:type', 'article' = opengraph 'og:title', "#{display_name(@account)} (#{acct(@account)})" = opengraph 'og:url', short_account_status_url(@account, @status) + = opengraph 'og:published_time', @status.created_at.iso8601 = render 'og_description', activity: @status = render 'og_image', activity: @status, account: @account