about summary refs log tree commit diff
path: root/app/views/stream_entries
diff options
context:
space:
mode:
authorEffy Elden <git@effy.is>2017-01-06 09:47:40 +1100
committerEffy Elden <git@effy.is>2017-01-06 09:47:40 +1100
commit819bfb75c6135d7acd4d5473f47c4e10497dec2b (patch)
treed2233667915a03adcad404c77387ee1041188dcf /app/views/stream_entries
parent9f21eb6064c6cdc2bc8606e5d18173655797c233 (diff)
Add twitter:card metatag to enable Twitter Cards support
Diffstat (limited to 'app/views/stream_entries')
-rw-r--r--app/views/stream_entries/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml
index 43935da60..d106173d2 100644
--- a/app/views/stream_entries/show.html.haml
+++ b/app/views/stream_entries/show.html.haml
@@ -14,5 +14,7 @@
     %meta{ property: 'og:image:width', content: '120' }/
     %meta{ property: 'og:image:height', content: '120' }/
 
+  %meta{ property: 'twitter:card', content: 'summary' }/
+
 .activity-stream.activity-stream-headless
   = render partial: @type, locals: { @type.to_sym => @stream_entry.activity, include_threads: true }