def _as_ul (self): #lst = [(p,self.__dict__ [slugify(p)]) for p in self.pagelist] return ul (li ([link (p, href=o._url, title=o.title) for p,o in self._pagelist]))
def _as_ul (self, *args, **kw): return ul (li (self._links))