Duh, html formatting;

This commit is contained in:
Benjamin Bouvier 2017-12-31 13:26:05 +01:00
parent 120b235a3c
commit ac9858fe0a

View File

@ -67,14 +67,14 @@ def add_feed():
links = [] links = []
for f in feeds: for f in feeds:
link = '<ul><a href={}{}>{}</a></ul>'.format(site_url, f.slug, f.title) link = '<li><a href={}{}>{}</a></li>'.format(site_url, f.slug, f.title)
links.append(link) links.append(link)
return """ return """
<body> <body>
<li> <ul>
{} {}
</li> </ul>
</body> </body>
""".format('\n'.join(links)) """.format('\n'.join(links))