This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix remote interaction dialogs being indexed by search engines (
#10240
)
Fix
#10116
master
Eugen Rochko
5 years ago
committed by
GitHub
parent
c8122e84cc
commit
f5eeac0104
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
2 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
app/views/remote_follow/new.html.haml
+3
-0
app/views/remote_interaction/new.html.haml
+ 1
- 2
app/views/remote_follow/new.html.haml
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
+ 3
- 0
app/views/remote_interaction/new.html.haml
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")
Write
Preview
Loading…
Cancel
Save