mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Use account.display_name for og:title single toot pages (#5821)
This commit is contained in:
parent
fd87e5a53b
commit
0ea4478b68
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
= opengraph 'og:site_name', site_title
|
= opengraph 'og:site_name', site_title
|
||||||
= opengraph 'og:type', 'article'
|
= opengraph 'og:type', 'article'
|
||||||
= opengraph 'og:title', "#{@account.username} on #{site_hostname}"
|
= opengraph 'og:title', "#{@account.display_name} on #{site_hostname}"
|
||||||
= opengraph 'og:url', account_stream_entry_url(@account, @stream_entry)
|
= opengraph 'og:url', account_stream_entry_url(@account, @stream_entry)
|
||||||
|
|
||||||
= render 'stream_entries/og_description', activity: @stream_entry.activity
|
= render 'stream_entries/og_description', activity: @stream_entry.activity
|
||||||
|
Loading…
Reference in New Issue
Block a user