about summary refs log tree commit diff
path: root/app/views/stream_entries/_og_description.html.haml
blob: d2fa99e63e581bab48056ba2937cfd9ace14aac1 (plain) (blame)
1
2
3
4
- if activity.is_a?(Status) && activity.spoiler_text?
  = opengraph 'og:description', activity.spoiler_text
- else
  = opengraph 'og:description', activity.content