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 = []
|
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))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user