code: def recent(self):
          '''
          Recent links.
          '''
          kwd = {
              'pager': '',
              'title': '最近文档',
          }
  
          if self.is_p:
              self.render('admin/link_ajax/link_list.html',
                          kwd=kwd,
                          view=MLink.query_link(20),
                          format_date=tools.format_date,
                          userinfo=self.userinfo)
          else:
              self.render('misc/link/link_list.html',
                          kwd=kwd,
                          view=MLink.query_link(20),
                          format_date=tools.format_date,
                          userinfo=self.userinfof recent(self):
          '''
          Recent links.
          '''
          kwd = {
              'pager': '',
              'title': '最近文档',
          }
  
          if self.is_p:
              self.render('admin/link_ajax/link_list.html',
                          kwd=kwd,
                          view=MLink.query_link(20),
                          format_date=tools.format_date,
                          userinfo=self.userinfo)
          else:
              self.render('misc/link/link_list.html',
                          kwd=kwd,
                          view=MLink.query_link(20),
                          format_date=tools.format_date,
                          userinfo=self.userinfo)
docs: Recent links.