gab-social/app/views/stream_entries/_og_description.html.haml

5 lines
270 B
Plaintext

- description = t('statuses.title', name: display_name(account), quote: truncate(activity.spoiler_text.presence || activity.text, length: 50, omission: '…', escape: false))
%meta{ name: 'description', content: description }/
= opengraph 'og:description', description