add og:published_time to opengraph meta tags (#14865)

lolsob-rspec
Jeremy Rose 2020-09-24 14:32:13 -07:00 committed by GitHub
parent 67ee32365d
commit 4b59090add
1 changed files with 1 additions and 0 deletions

View File

@ -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