diff options
author | Martin Fischer <martin@push-f.com> | 2020-10-08 21:57:39 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2020-10-08 21:57:39 +0200 |
commit | 197897c8ad04d982884777c9cb12806e89322dd9 (patch) | |
tree | 0daf7e6dcabf2e67c458138aaa9aa4a10caa8d9f /mkfeed.py | |
parent | 743ccf155558aea7521ccc7cd19939c892865e4a (diff) |
mkfeed.py: add class to <ul>
Diffstat (limited to 'mkfeed.py')
-rwxr-xr-x | mkfeed.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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>') |