summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--tekuti/page.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tekuti/page.scm b/tekuti/page.scm
index ab4871a..34c86c8 100644
--- a/tekuti/page.scm
+++ b/tekuti/page.scm
@@ -418,9 +418,11 @@
`(entry
(author (name ,*name*) (uri ,(relurl "")))
(title (@ (type "text")) ,(assq-ref post 'title))
- (id ,(assq-ref post 'key))
+ (id ,(relurl (url:decode (assq-ref post 'key)))) ;hack
(published ,(timestamp->atom-date
(assq-ref post 'timestamp)))
+ (updated ,(timestamp->atom-date
+ (assq-ref post 'timestamp)))
(content (@ (type "xhtml"))
(div (@ (xmlns "http://www.w3.org/1999/xhtml"))
,(post-sxml-content post)))))