Commit 975e6bd8 authored by mgabdev's avatar mgabdev

Updated status meta description and title

• Updated:
- status meta description and title
parent d4175dd9
- 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
......
- 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment