forked from asonix/mastodon
- Return all images as og:image - Return videos as og:image (preview) and og:video - Return profile:username on profiles
4 lines
164 B
Text
4 lines
164 B
Text
- if activity.is_a?(Status) && activity.spoiler_text?
|
|
= opengraph 'og:description', activity.spoiler_text
|
|
- else
|
|
= opengraph 'og:description', activity.content
|