diff options
Diffstat (limited to 'z.scm')
-rw-r--r-- | z.scm | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -268,11 +268,14 @@ NL < '\n' (let* ([node (load-node (string->id id))] [txt (or (get-content node) "")]) (respond - `(,(->> txt - pandoc - ;; wrap in article tags so sxml includes all of the content - ((/. s (string.str "<article>" s "</article>"))) - xml->sxml)) + (->> txt + pandoc + ;; wrap in article tags so sxml includes all of the + ;; content, not jus the first element + ((/. s (string.str "<article>" s "</article>"))) + xml->sxml + ;; wrap in a list to prevent *TOP* from being rendered + list) #:title (fmt "z - ~a" (title node))))] [("tag") (begin |