summaryrefslogtreecommitdiff
path: root/src/html.scm
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-10-10 00:02:23 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-10-10 00:02:23 +0200
commitb43c2ebbf36277df54a7954741c7a7399afc0130 (patch)
tree86614f17de3dcc2a8b3246dbdd5118bec8aa40a7 /src/html.scm
parentc65bf6c1e2af514da5322376a7602ea3be80cda1 (diff)
html, atom: order by date
Diffstat (limited to 'src/html.scm')
-rw-r--r--src/html.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/html.scm b/src/html.scm
index 707ef2f..a6bdd13 100644
--- a/src/html.scm
+++ b/src/html.scm
@@ -72,7 +72,16 @@
(styles '())
(scripts '())
#:allow-other-keys)
- (make-index title short-description long-description uri atom-feed-uri author posts styles scripts))
+ (make-index
+ title
+ short-description
+ long-description
+ uri
+ atom-feed-uri
+ author
+ (sort posts date>?)
+ styles
+ scripts))
(define* (post #:key (id #f)