mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
add og:published_time to opengraph meta tags (#14865)
This commit is contained in:
parent
b655a7f88f
commit
03b6b034b9
@ -12,6 +12,7 @@
|
|||||||
= opengraph 'og:type', 'article'
|
= opengraph 'og:type', 'article'
|
||||||
= opengraph 'og:title', "#{display_name(@account)} (#{acct(@account)})"
|
= opengraph 'og:title', "#{display_name(@account)} (#{acct(@account)})"
|
||||||
= opengraph 'og:url', short_account_status_url(@account, @status)
|
= opengraph 'og:url', short_account_status_url(@account, @status)
|
||||||
|
= opengraph 'og:published_time', @status.created_at.iso8601
|
||||||
|
|
||||||
= render 'og_description', activity: @status
|
= render 'og_description', activity: @status
|
||||||
= render 'og_image', activity: @status, account: @account
|
= render 'og_image', activity: @status, account: @account
|
||||||
|
Loading…
Reference in New Issue
Block a user