Skip to content

Commit 63b6efa

Browse files
authored
Fix remote interaction dialogs being indexed by search engines (mastodon#10240)
Fix mastodon#10116
1 parent bdaddfe commit 63b6efa

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/views/remote_follow/new.html.haml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
- content_for :header_tags do
2-
- if @account.user&.setting_noindex
3-
%meta{ name: 'robots', content: 'noindex' }/
2+
%meta{ name: 'robots', content: 'noindex' }/
43

54
.form-container
65
.follow-prompt

app/views/remote_interaction/new.html.haml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
- content_for :header_tags do
2+
%meta{ name: 'robots', content: 'noindex' }/
3+
14
.form-container
25
.follow-prompt
36
%h2= t("remote_interaction.#{@interaction_type}.prompt")

0 commit comments

Comments
 (0)