diff options
author | 2024-08-11 22:53:54 -0400 | |
---|---|---|
committer | 2024-08-11 22:53:54 -0400 | |
commit | 7449d34901d48bd2547d73e7846213118b377997 (patch) | |
tree | eda7bf12179ac93fa3c552968b3d995530ae8ace /utils | |
parent | de061b589dc4d8fc2f8a9866ea183f565b284cf9 (diff) | |
download | notekins-7449d34901d48bd2547d73e7846213118b377997.tar.xz |
Fix atom generation.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/atomgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/atomgen.py b/utils/atomgen.py index 453465d..7b37cfb 100644 --- a/utils/atomgen.py +++ b/utils/atomgen.py @@ -33,7 +33,7 @@ def gen_atom(): dates = list(reversed(m.get_all_dates()[-conf.ATOM_NPOSTS:])) for d in dates: p = m.get_post(d) - link = f"{conf.SERVED_DATA_ROOT}/?post={p.date}" + link = f"{conf.ATOM_ROOT}/?post={p.date}" title = ellide(remove_tags(p.content), 32) date = datetime.fromtimestamp(p.date, timezone.utc).replace(microsecond=0).isoformat() xmlbuf += f'<entry>' |