Add user profile OG tag on status page (#21423)

lolsob-rspec
Bramus! 2022-11-27 20:45:28 +01:00 committed by GitHub
parent 4d9ee0e01d
commit e0d03fd3cb
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
= 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
= opengraph 'profile:username', acct(@account)[1..-1]
= render 'og_description', activity: @status
= render 'og_image', activity: @status, account: @account