diff options
author | Martin Fischer <martin@push-f.com> | 2021-01-11 11:40:00 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-01-11 11:41:33 +0100 |
commit | a857e5f435b81889dd3b82b7b213c66d928d6bbb (patch) | |
tree | 3234a1b3f495412bc92afdd38ac793fde97bea34 /mkfeed.py | |
parent | 197897c8ad04d982884777c9cb12806e89322dd9 (diff) |
mkfeed: move date before hyperlink
Diffstat (limited to 'mkfeed.py')
-rwxr-xr-x | mkfeed.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ 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 class="mkfeed-list">') for post in posts: - f.write(f"<li><a href=\"{post['path']}\">{post.get('date')} {post['title']}</a></li>") + f.write(f"<li>{post.get('date')}: <a href=\"{post['path']}\">{post['title']}</a></li>") f.write('</ul>') with open(OUTDIR + 'atom.xml', 'w') as f: |