Add twitter:card metatag to enable Twitter Cards support

This commit is contained in:
Effy Elden
2017-01-06 09:47:40 +11:00
parent 9f21eb6064
commit 819bfb75c6
3 changed files with 4 additions and 0 deletions

View File

@ -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 }