Add an RSS feed tagged to a public profile page (#10502)

* Add featured tag support to rss feed on public account page

* fix codeing style
This commit is contained in:
Takeshi Umeda
2019-08-19 03:54:36 +09:00
committed by Eugen Rochko
parent a8b0bb355d
commit 9e1d28f48e
3 changed files with 18 additions and 8 deletions

View File

@ -7,7 +7,7 @@
- if @account.user&.setting_noindex
%meta{ name: 'robots', content: 'noindex, noarchive' }/
%link{ rel: 'alternate', type: 'application/rss+xml', href: account_url(@account, format: 'rss') }/
%link{ rel: 'alternate', type: 'application/rss+xml', href: @rss_url }/
%link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@account) }/
- if @older_url