mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 09:21:11 +00:00
Description is also only used by status
This commit is contained in:
parent
1085b730e0
commit
a8d0b3f9ae
|
@ -1,4 +1,4 @@
|
|||
- description = status_description(activity)
|
||||
-# locals(description:)
|
||||
|
||||
%meta{ name: 'description', content: description }/
|
||||
= opengraph 'og:description', description
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
= opengraph 'og:locale', @status.language
|
||||
= opengraph 'profile:username', acct(@account)[1..]
|
||||
|
||||
= render 'og_description', activity: @status
|
||||
= render 'og_description', description: status_description(@status)
|
||||
= render 'og_image', status: @status, account: @account
|
||||
|
||||
= render 'shared/web_app'
|
||||
|
|
Loading…
Reference in New Issue
Block a user