diff options
author | Bramus! <bramus@bram.us> | 2022-11-27 20:45:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 20:45:28 +0100 |
commit | e617ee7fd9a3dcbb0936f29c99381e1fef92455b (patch) | |
tree | 01e51f335fdb9d21a800dbef83b66177afffb3de /app | |
parent | f4f2b062ec7827ed7749d85579aca2da2ec40593 (diff) |
Add user profile OG tag on status page (#21423)
Diffstat (limited to 'app')
-rw-r--r-- | app/views/statuses/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/statuses/show.html.haml b/app/views/statuses/show.html.haml index 106c41725..cb6b4c619 100644 --- a/app/views/statuses/show.html.haml +++ b/app/views/statuses/show.html.haml @@ -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 |