diff --git a/r2/r2/controllers/post.py b/r2/r2/controllers/post.py index 07d223e279..eff31ca50e 100644 --- a/r2/r2/controllers/post.py +++ b/r2/r2/controllers/post.py @@ -84,6 +84,7 @@ def GET_over18(self): content=Over18(), show_sidebar=False, show_newsletterbar=False, + show_welcomebar=False, robots='noindex,nofollow').render() @validate( @@ -108,6 +109,7 @@ def GET_quarantine(self, dest): content=Quarantine(sr.name, logged_in, email_verified), show_sidebar=False, show_newsletterbar=False, + show_welcomebar=False, robots='noindex,nofollow').render() @validate(VModhash(fatal=False), diff --git a/r2/r2/lib/pages/pages.py b/r2/r2/lib/pages/pages.py index 664b053405..afd36d8d9b 100644 --- a/r2/r2/lib/pages/pages.py +++ b/r2/r2/lib/pages/pages.py @@ -315,7 +315,8 @@ def __init__(self, space_compress=None, nav_menus=None, loginbox=True, extra_class="gold") if not c.user_is_loggedin: - self.welcomebar = WelcomeBar() + if getattr(self, "show_welcomebar", True): + self.welcomebar = WelcomeBar() if getattr(self, "show_newsletterbar", True): self.newsletterbar = NewsletterBar()