Skip to content

Commit

Permalink
Remove robots tag from banned post pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
chromakode committed Dec 2, 2011
1 parent 3df6a06 commit 33574bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/lib/pages/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ def __init__(self, link = None, comment = None,
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):
Expand Down

0 comments on commit 33574bc

Please sign in to comment.