catstodon/app/views/stream_entries/_og_description.html.haml

4 lines
198 B
Text

- if activity.is_a?(Status) && activity.spoiler_text?
%meta{ property: 'og:description', content: activity.spoiler_text }/
- else
%meta{ property: 'og:description', content: activity.content }/