diff options
author | Maciek Baron <thebezet@gmail.com> | 2018-07-04 01:58:44 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-04 02:58:44 +0200 |
commit | 9dc413b02526f60865f14b7582ac4e89dc6673f3 (patch) | |
tree | dfb51b2295a91bbe5e2dec60d5187f3173dcf351 /app/views | |
parent | 8ff0d64d05cf3533e8796309bdce4397762a7a2a (diff) |
Respect noindex rule in remote follow view (fix #7869) (#7939)
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/remote_follow/new.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/remote_follow/new.html.haml b/app/views/remote_follow/new.html.haml index 3273c318c..361bb53e4 100644 --- a/app/views/remote_follow/new.html.haml +++ b/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 .follow-prompt %h2= t('remote_follow.prompt') |