From 2eec3c376a72c7edf8ae363cc11c8abe0d118b35 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Thu, 9 May 2019 18:57:56 -0400 Subject: Fix post ordering on tag pages --- haunt/custom/tag.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haunt') diff --git a/haunt/custom/tag.scm b/haunt/custom/tag.scm index a36197a..abac1b5 100644 --- a/haunt/custom/tag.scm +++ b/haunt/custom/tag.scm @@ -28,7 +28,7 @@ the posts that have a certain tag." (lambda (site posts) (map (lambda (alist) (let* ((tag-name (car alist)) - (posts (cdr alist)) + (posts (posts/reverse-chronological (cdr alist))) (title (format #f "Posts tagged as \"~a\"" tag-name)) (file-name (format #f "tag-~a.html" tag-name)) (body `(h1 ,(format #f "Tagged as \"~a\"" tag-name)))) -- cgit v1.3