Respect noindex rule in remote follow view (fix #7869) (#7939)

signup-info-prompt
Maciek Baron 2018-07-04 01:58:44 +01:00 committed by Eugen Rochko
parent 8ff0d64d05
commit 9dc413b025
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
- content_for :header_tags do
- if @account.user&.setting_noindex
%meta{ name: 'robots', content: 'noindex' }/
.form-container
.follow-prompt
%h2= t('remote_follow.prompt')