mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
8f8e677630
- Return all images as og:image - Return videos as og:image (preview) and og:video - Return profile:username on profiles
5 lines
164 B
Plaintext
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
|