1
0
Fork 0

Reverse tag page posts order

So the newest post comes out on top.
This commit is contained in:
Tom Willemsen 2013-04-03 03:36:19 +02:00
parent ea8c3a5642
commit a2c76e586e

View file

@ -286,7 +286,7 @@
(respond `(,(tag-sidebar tag index)
(h2 "posts tagged \"" ,tag "\"")
,@(map (lambda (post) (show-post post #f))
(take-max posts 10)))
(take-max (reverse posts) 10)))
#:etag (assq-ref index 'master)
#:title (string-append "posts tagged \"" tag "\""))
(respond `((h2 "Unknown tag " ,tag)