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

master
Maciek Baron 6 years ago committed by Eugen Rochko
parent 8ff0d64d05
commit 9dc413b025
  1. 4
      app/views/remote_follow/new.html.haml

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

Loading…
Cancel
Save