Updated status meta description and title
• Updated: - status meta description and title
This commit is contained in:
parent
d4175dd982
commit
975e6bd8b1
@ -1,4 +1,4 @@
|
||||
- the_title = "#{display_name(account)} on Gab"
|
||||
- the_title = t('statuses.title', name: display_name(account), quote: truncate(stream_entry.activity.spoiler_text.presence || stream_entry.activity.text, length: 50, omission: '…', escape: false))
|
||||
|
||||
- content_for :page_title do
|
||||
= the_title
|
||||
|
@ -1,4 +1,4 @@
|
||||
- description = activity.spoiler_text.presence || activity.text
|
||||
- description = t('statuses.title', name: display_name(account), quote: activity.spoiler_text.presence || activity.text)
|
||||
|
||||
%meta{ name: 'description', content: description }/
|
||||
= opengraph 'og:description', description
|
||||
|
Loading…
x
Reference in New Issue
Block a user