about summary refs log tree commit diff
path: root/app/views/statuses
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2019-07-28 20:46:04 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-07-28 13:46:04 +0200
commit6a1f08d29a1059e7bc101cac5a626b3eeab6e1a8 (patch)
treeff501a8a52973ff733565376347ade567594f9b1 /app/views/statuses
parent10e78ecf57242cc5030b903131bf27e027bb4a97 (diff)
Prevent archiving when user set "noindex" (#11421)
Diffstat (limited to 'app/views/statuses')
-rw-r--r--app/views/statuses/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/statuses/show.html.haml b/app/views/statuses/show.html.haml
index 704e37a3d..0f22d106b 100644
--- a/app/views/statuses/show.html.haml
+++ b/app/views/statuses/show.html.haml
@@ -3,7 +3,7 @@
 
 - content_for :header_tags do
   - if @account.user&.setting_noindex
-    %meta{ name: 'robots', content: 'noindex' }/
+    %meta{ name: 'robots', content: 'noindex, noarchive' }/
 
   %link{ rel: 'alternate', type: 'application/json+oembed', href: api_oembed_url(url: short_account_status_url(@account, @status), format: 'json') }/
   %link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@status) }/