mastodon-glitch/app/views/stream_entries/_og_description.html.haml

5 lines
164 B
Plaintext

- if activity.is_a?(Status) && activity.spoiler_text?
= opengraph 'og:description', activity.spoiler_text
- else
= opengraph 'og:description', activity.content