From: Jeremy Rose Date: Thu, 24 Sep 2020 21:32:13 +0000 (-0700) Subject: add og:published_time to opengraph meta tags (#14865) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=03b6b034b95b9ee2ce4a80c3b9c724273dcb0072;p=mastodon.git add og:published_time to opengraph meta tags (#14865) --- 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