Add option to opt out of search engines on public profile/status pages (#4199)
This commit is contained in:
@ -2,6 +2,9 @@
|
||||
= display_name(@account)
|
||||
|
||||
- content_for :header_tags do
|
||||
- if @account.user&.setting_noindex
|
||||
%meta{ name: 'robots', content: 'noindex' }/
|
||||
|
||||
%link{ rel: 'salmon', href: api_salmon_url(@account.id) }/
|
||||
%link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
|
||||
|
||||
|
Reference in New Issue
Block a user