aboutsummaryrefslogtreecommitdiff
path: root/utils/atomgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/atomgen.py')
-rw-r--r--utils/atomgen.py2
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>'