Updated status meta data title and description
• Updated: - status meta data title and description to remove truncation
This commit is contained in:
parent
83f37d144e
commit
8f4be991a0
@ -1,5 +1,5 @@
|
|||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= t('statuses.title', name: display_name(account), quote: truncate(stream_entry.activity.spoiler_text.presence || stream_entry.activity.text, length: 50, omission: '…', escape: false))
|
= "#{display_name(account)} on Gab"
|
||||||
|
|
||||||
- content_for :header_tags do
|
- content_for :header_tags do
|
||||||
- if account.user&.setting_noindex
|
- if account.user&.setting_noindex
|
||||||
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
= opengraph 'og:site_name', site_title
|
= opengraph 'og:site_name', site_title
|
||||||
= opengraph 'og:type', 'article'
|
= opengraph 'og:type', 'article'
|
||||||
= opengraph 'og: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))
|
= opengraph 'og:title', t('statuses.title', name: display_name(account), quote: stream_entry.activity.spoiler_text.presence || stream_entry.activity.text)
|
||||||
= opengraph 'og:url', short_account_status_url(account, stream_entry.activity)
|
= opengraph 'og:url', short_account_status_url(account, stream_entry.activity)
|
||||||
|
|
||||||
= render 'stream_entries/og_description', activity: stream_entry.activity, account: account
|
= render 'stream_entries/og_description', activity: stream_entry.activity, account: account
|
||||||
|
Loading…
x
Reference in New Issue
Block a user