mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 20:15:10 +01:00
Add user profile OG tag on status page (#21423)
This commit is contained in:
parent
f4f2b062ec
commit
e617ee7fd9
@ -13,6 +13,7 @@
|
|||||||
= 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
|
= opengraph 'og:published_time', @status.created_at.iso8601
|
||||||
|
= opengraph 'profile:username', acct(@account)[1..-1]
|
||||||
|
|
||||||
= 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