Add alternate links to ActivityPub resources from HTML/HEAD variants (#4586)
This commit is contained in:
parent
b7370ac8ba
commit
a2aeacbfee
7 changed files with 24 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
%link{ rel: 'salmon', href: api_salmon_url(@account.id) }/
|
||||
%link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
|
||||
%link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@account) }/
|
||||
|
||||
%meta{ property: 'og:type', content: 'profile' }/
|
||||
= render 'og', account: @account, url: short_account_url(@account, only_path: false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue