Fix tag pages by reverting to the original layout
This commit is contained in:
parent
d34a14b3d6
commit
32b9adf4bf
1 changed files with 7 additions and 4 deletions
|
@ -301,10 +301,13 @@
|
|||
(post-from-key index key))
|
||||
(hash-ref tags tag '()))))
|
||||
(if (pair? posts)
|
||||
(respond `(,(tag-sidebar tag index)
|
||||
(h2 "posts tagged \"" ,tag "\"")
|
||||
,@(map (lambda (post) (show-post post #f))
|
||||
(take-max (reverse posts) 10)))
|
||||
(respond `((h2 "posts tagged \"" ,tag "\" ("
|
||||
,(rellink '("feed" "atom") "feed"
|
||||
#:query `(("with" . ,tag)))
|
||||
")")
|
||||
,@(map (lambda (post) `(p ,(post-link post)))
|
||||
(take-max (reverse posts) 10))
|
||||
,(related-tag-cloud tag index))
|
||||
#:etag (assq-ref index 'master)
|
||||
#:title (string-append "posts tagged \"" tag "\""))
|
||||
(respond `((h2 "Unknown tag " ,tag)
|
||||
|
|
Loading…
Reference in a new issue