diff options
Diffstat (limited to 'app/views/stream_entries/_og_description.html.haml')
-rw-r--r-- | app/views/stream_entries/_og_description.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/stream_entries/_og_description.html.haml b/app/views/stream_entries/_og_description.html.haml new file mode 100644 index 000000000..5762aca04 --- /dev/null +++ b/app/views/stream_entries/_og_description.html.haml @@ -0,0 +1,4 @@ +- if activity.is_a?(Status) && activity.spoiler_text? + %meta{ property: 'og:description', content: activity.spoiler_text }/ +- else + %meta{ property: 'og:description', content: activity.content }/ |