summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-05-09 18:57:56 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-05-09 18:59:53 -0400
commit2eec3c376a72c7edf8ae363cc11c8abe0d118b35 (patch)
tree46d2dfe1c6ec811ded675021c1b299c4b445dae4
parentdc587161f4f8a9d567e12683ffffbbd8dbb32be8 (diff)
Fix post ordering on tag pages
-rw-r--r--haunt/custom/tag.scm2
1 files changed, 1 insertions, 1 deletions
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))))