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

5 lines
270 B
Plaintext
Raw Normal View History

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