Skip to content
Snippets Groups Projects
Unverified Commit e617ee7f authored by Bramus!'s avatar Bramus! Committed by GitHub
Browse files

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

parent f4f2b062
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment