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

This commit is contained in:
Maciek Baron 2018-07-04 01:58:44 +01:00 committed by Eugen Rochko
parent 8ff0d64d05
commit 9dc413b025

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')