mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-31 01:38:08 -05:00
Remove robots tag from banned post pages.
This commit is contained in:
@@ -850,7 +850,7 @@ class LinkInfoPage(Reddit):
|
||||
else:
|
||||
self.duplicates = duplicates
|
||||
|
||||
robots = "noindex,nofollow" if link._deleted or link._spam else None
|
||||
robots = "noindex,nofollow" if link._deleted else None
|
||||
Reddit.__init__(self, title = title, short_description=short_description, robots=robots, *a, **kw)
|
||||
|
||||
def build_toolbars(self):
|
||||
|
||||
Reference in New Issue
Block a user