From b43c2ebbf36277df54a7954741c7a7399afc0130 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 10 Oct 2023 00:02:23 +0200 Subject: html, atom: order by date --- src/html.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/html.scm') 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) -- cgit v1.2.3