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))
|
(post-from-key index key))
|
||||||
(hash-ref tags tag '()))))
|
(hash-ref tags tag '()))))
|
||||||
(if (pair? posts)
|
(if (pair? posts)
|
||||||
(respond `(,(tag-sidebar tag index)
|
(respond `((h2 "posts tagged \"" ,tag "\" ("
|
||||||
(h2 "posts tagged \"" ,tag "\"")
|
,(rellink '("feed" "atom") "feed"
|
||||||
,@(map (lambda (post) (show-post post #f))
|
#:query `(("with" . ,tag)))
|
||||||
(take-max (reverse posts) 10)))
|
")")
|
||||||
|
,@(map (lambda (post) `(p ,(post-link post)))
|
||||||
|
(take-max (reverse posts) 10))
|
||||||
|
,(related-tag-cloud tag index))
|
||||||
#: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