Reverse tag page posts order
So the newest post comes out on top.
This commit is contained in:
parent
ea8c3a5642
commit
a2c76e586e
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@
|
||||||
(respond `(,(tag-sidebar tag index)
|
(respond `(,(tag-sidebar tag index)
|
||||||
(h2 "posts tagged \"" ,tag "\"")
|
(h2 "posts tagged \"" ,tag "\"")
|
||||||
,@(map (lambda (post) (show-post post #f))
|
,@(map (lambda (post) (show-post post #f))
|
||||||
(take-max posts 10)))
|
(take-max (reverse posts) 10)))
|
||||||
#:etag (assq-ref index 'master)
|
#:etag (assq-ref index 'master)
|
||||||
#:title (string-append "posts tagged \"" tag "\""))
|
#:title (string-append "posts tagged \"" tag "\""))
|
||||||
(respond `((h2 "Unknown tag " ,tag)
|
(respond `((h2 "Unknown tag " ,tag)
|
||||||
|
|
Loading…
Reference in a new issue