diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-05-10 21:38:19 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-10 14:38:19 +0200 |
commit | 0a7e8320b22412e8a45545026fafe1be1d6b9051 (patch) | |
tree | 2f227382fb6d4576096b1beaddde0009ed36bd8c /app/views/accounts | |
parent | 6588f6a0a9118e6feb2f23d82655b2435c6cbbca (diff) |
Add alternate for RSS (#7436)
Diffstat (limited to 'app/views/accounts')
-rw-r--r-- | app/views/accounts/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index bbf2139a5..cfdd3a945 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -8,6 +8,7 @@ %meta{ name: 'robots', content: 'noindex' }/ %link{ rel: 'salmon', href: api_salmon_url(@account.id) }/ + %link{ rel: 'alternate', type: 'application/rss+xml', href: account_url(@account, format: 'rss') }/ %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) }/ |