From 197897c8ad04d982884777c9cb12806e89322dd9 Mon Sep 17 00:00:00 2001 From: Martin Fischer <martin@push-f.com> Date: Thu, 8 Oct 2020 21:57:39 +0200 Subject: mkfeed.py: add class to <ul> --- mkfeed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>') -- cgit v1.2.3