diff --git a/r2/r2/controllers/post.py b/r2/r2/controllers/post.py index b574e5df3..e77e0dc08 100644 --- a/r2/r2/controllers/post.py +++ b/r2/r2/controllers/post.py @@ -89,10 +89,11 @@ class PostController(ApiController): ) def GET_quarantine(self, dest): sr = UrlParser(dest).get_subreddit() - return BoringPage(_("opt in to potentially offensive content?"), + return BoringPage( + _("opt in to potentially offensive content?"), content=Quarantine(sr.name), show_sidebar=False, - ).render() + robots='noindex,nofollow').render() @validate(VModhash(fatal=False), over18 = nop('over18'), diff --git a/r2/r2/templates/robots.txt b/r2/r2/templates/robots.txt index 31b1af210..172902ca1 100644 --- a/r2/r2/templates/robots.txt +++ b/r2/r2/templates/robots.txt @@ -54,5 +54,6 @@ Disallow: /reddits/search Disallow: /search Disallow: /r/*/search Disallow: /over18 +Disallow: /quarantine Allow: /