code: def list_catalog(self, kind):
          '''
          listing the category.
          '''
          kwd = {
              'pager': '',
              'title': '最近文档',
              'kind': kind,
              'router': config.router_post[kind]
          }
          self.render('admin/{0}/category_list.html'.format(self.tmpl_router),
                      kwd=kwd,
                      view=MCategory.query_all(kind, by_order=True),
                      format_date=tools.format_date,
                      userinfo=self.userinfo,
                      cfg=config.CMS_CFGf list_catalog(self, kind):
          '''
          listing the category.
          '''
          kwd = {
              'pager': '',
              'title': '最近文档',
              'kind': kind,
              'router': config.router_post[kind]
          }
          self.render('admin/{0}/category_list.html'.format(self.tmpl_router),
                      kwd=kwd,
                      view=MCategory.query_all(kind, by_order=True),
                      format_date=tools.format_date,
                      userinfo=self.userinfo,
                      cfg=config.CMS_CFG)
docs: listing the category.