Skip to content
Snippets Groups Projects
Commit b6ee2fb1 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Add some OpenGraph tags to public statuses

parent 4f1d8636
No related branches found
No related tags found
No related merge requests found
- content_for :header_tags do
%link{ rel: 'alternate', type: 'application/atom+xml', href: account_stream_entry_url(@account, @stream_entry, format: 'atom') }/
%meta{ name: 'og:site_name', content: 'Mastodon' }/
%meta{ name: 'og:type', content: 'article' }/
%meta{ name: 'og:article:author', content: @account.username }/
.activity-stream.activity-stream-headless
= render partial: @type, locals: { @type.to_sym => @stream_entry.activity, include_threads: true }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment