transform a list of page titles in a list of html links

def page_list(cls, pages, base_url='/'):
        """transform a list of page titles in a list of html links"""
        plist = []
        for page in pages:
            url = "<a href=\"{}{}\">{}</a>".format(base_url, cls.slugify(page), page)
            plist.append(url)
        return plist