code: def pages(self):
          
          rev = self.db.get('site:rev')
          if int(rev) != self.revision:
              self.reload_site()
  
          return self._pages
docs: Get pages, reloading the site if needed.