Prevent indexing of old versions of a page (fixes #768)
This commit is contained in:
@@ -35,6 +35,10 @@ module Precious
|
||||
first.authored_date.strftime(DATE_FORMAT)
|
||||
end
|
||||
|
||||
def noindex
|
||||
@version ? true : false
|
||||
end
|
||||
|
||||
def editable
|
||||
@editable
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user