Browse Source

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

closed-social-glitch-2
Bramus! 2 years ago
committed by GitHub
parent
commit
e617ee7fd9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/views/statuses/show.html.haml

+ 1
- 0
app/views/statuses/show.html.haml 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

Loading…
Cancel
Save