From: Maciek Baron Date: Wed, 4 Jul 2018 00:58:44 +0000 (+0100) Subject: Respect noindex rule in remote follow view (fix #7869) (#7939) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=9dc413b02526f60865f14b7582ac4e89dc6673f3;p=mastodon.git Respect noindex rule in remote follow view (fix #7869) (#7939) --- 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')