code: def rename_page(self, old_slug, new_title):
          '''Load the page corresponding to the slug, and rename it.'''
          #load page
          p = s2page.Page(self, old_slug, isslug=True)
          p.rename(new_titlef rename_page(self, old_slug, new_title):
          '''Load the page corresponding to the slug, and rename it.'''
          #load page
          p = s2page.Page(self, old_slug, isslug=True)
          p.rename(new_title)
docs: Load the page corresponding to the slug, and rename it.