Fix og:url on toots' public view (#9047)
Fixes #9045remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
parent
c73864c137
commit
84cf78da8a
|
@ -12,7 +12,7 @@
|
||||||
= opengraph 'og:site_name', site_title
|
= opengraph 'og:site_name', site_title
|
||||||
= opengraph 'og:type', 'article'
|
= opengraph 'og:type', 'article'
|
||||||
= opengraph 'og:title', "#{display_name(@account)} (@#{@account.local_username_and_domain})"
|
= opengraph 'og:title', "#{display_name(@account)} (@#{@account.local_username_and_domain})"
|
||||||
= opengraph 'og:url', short_account_status_url(@account, @stream_entry)
|
= opengraph 'og:url', short_account_status_url(@account, @stream_entry.activity)
|
||||||
|
|
||||||
= render 'stream_entries/og_description', activity: @stream_entry.activity
|
= render 'stream_entries/og_description', activity: @stream_entry.activity
|
||||||
= render 'stream_entries/og_image', activity: @stream_entry.activity, account: @account
|
= render 'stream_entries/og_image', activity: @stream_entry.activity, account: @account
|
||||||
|
|
Loading…
Reference in New Issue