Browse Source

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

pull/4/head
Maciek Baron 5 years ago
committed by Eugen Rochko
parent
commit
9dc413b025
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/views/remote_follow/new.html.haml

+ 4
- 0
app/views/remote_follow/new.html.haml 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')

Loading…
Cancel
Save