summaryrefslogtreecommitdiff
path: root/mkfeed.py
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2020-10-08 21:57:39 +0200
committerMartin Fischer <martin@push-f.com>2020-10-08 21:57:39 +0200
commit197897c8ad04d982884777c9cb12806e89322dd9 (patch)
tree0daf7e6dcabf2e67c458138aaa9aa4a10caa8d9f /mkfeed.py
parent743ccf155558aea7521ccc7cd19939c892865e4a (diff)
mkfeed.py: add class to <ul>
Diffstat (limited to 'mkfeed.py')
-rwxr-xr-xmkfeed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfeed.py b/mkfeed.py
index 7ba298d..b55fc30 100755
--- a/mkfeed.py
+++ b/mkfeed.py
@@ -40,7 +40,7 @@ last_updated = max([p['dateMeta'] for p in posts if 'dateMeta' in p])
with open(OUTDIR + 'index.html', 'w') as f:
f.write(f'<h2>{escape(DIRNAME.title())} <a href="{escape(DIR)}atom.xml" style="vertical-align:top">{FEED_SVG}</a></h2>')
- f.write('<ul>')
+ f.write('<ul class="mkfeed-list">')
for post in posts:
f.write(f"<li><a href=\"{post['path']}\">{post.get('date')} {post['title']}</a></li>")
f.write('</ul>')