From 4b59090addaab7078f5cd3d0950e92ea3d282707 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 873df7fbd1..7ef7b09a2d 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