summaryrefslogtreecommitdiff
path: root/haunt/builder/atom.scm
diff options
context:
space:
mode:
Diffstat (limited to 'haunt/builder/atom.scm')
-rw-r--r--haunt/builder/atom.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/haunt/builder/atom.scm b/haunt/builder/atom.scm
index 337de6d..1cfe1e3 100644
--- a/haunt/builder/atom.scm
+++ b/haunt/builder/atom.scm
@@ -51,7 +51,7 @@
(name ,(post-ref post 'author))
,(let ((email (post-ref post 'email)))
(if email `(email ,email) '())))
- (updated ,(date->string* (post-ref post 'date)))
+ (updated ,(date->string* (post-date post)))
(link (@ (href ,(string-append "/" (post-slug post) ".html"))
(rel "alternate")))
(summary (@ (type "html"))