Remove robots tag from banned post pages.

This commit is contained in:
Max Goodman
2011-12-01 15:53:19 -08:00
parent 3df6a0678d
commit 33574bc701

View File

@@ -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):