summaryrefslogtreecommitdiff
path: root/mkfeed.py
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-01-11 11:40:00 +0100
committerMartin Fischer <martin@push-f.com>2021-01-11 11:41:33 +0100
commita857e5f435b81889dd3b82b7b213c66d928d6bbb (patch)
tree3234a1b3f495412bc92afdd38ac793fde97bea34 /mkfeed.py
parent197897c8ad04d982884777c9cb12806e89322dd9 (diff)
mkfeed: move date before hyperlink
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 b55fc30..2f3e866 100755
--- a/mkfeed.py
+++ b/mkfeed.py
@@ -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: