Fix remote interaction dialogs being indexed by search engines (#10240)

Fix #10116
lolsob-rspec
Eugen Rochko 2019-03-11 20:47:50 +01:00 committed by GitHub
parent b80943b08b
commit 2572884347
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,5 @@
- content_for :header_tags do
- if @account.user&.setting_noindex
%meta{ name: 'robots', content: 'noindex' }/
%meta{ name: 'robots', content: 'noindex' }/
.form-container
.follow-prompt

View File

@ -1,3 +1,6 @@
- content_for :header_tags do
%meta{ name: 'robots', content: 'noindex' }/
.form-container
.follow-prompt
%h2= t("remote_interaction.#{@interaction_type}.prompt")