Duh, html formatting;
This commit is contained in:
parent
120b235a3c
commit
ac9858fe0a
6
main.py
6
main.py
@ -67,14 +67,14 @@ def add_feed():
|
||||
|
||||
links = []
|
||||
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)
|
||||
|
||||
return """
|
||||
<body>
|
||||
<li>
|
||||
<ul>
|
||||
{}
|
||||
</li>
|
||||
</ul>
|
||||
</body>
|
||||
""".format('\n'.join(links))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user