From e0d03fd3cb636bd9e2e1380e486f7795dc1ffe41 Mon Sep 17 00:00:00 2001 From: Bramus! Date: Sun, 27 Nov 2022 20:45:28 +0100 Subject: [PATCH] Add user profile OG tag on status page (#21423) --- app/views/statuses/show.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/statuses/show.html.haml b/app/views/statuses/show.html.haml index 106c41725e..cb6b4c6193 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