From: Javier Sancho Date: Mon, 26 Feb 2018 16:00:59 +0000 (+0100) Subject: Separate post tags with commas X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=bf75bbf48ffb7e81c8ded9fe740ddc944ccf0c78;p=blog.git Separate post tags with commas --- diff --git a/haunt.scm b/haunt.scm index 96838c4..7ad26ee 100644 --- a/haunt.scm +++ b/haunt.scm @@ -33,9 +33,13 @@ `(" " (span (@ (style "margin: 0 3px")) ⦿) (span (@ (class "tags")) - ,@(map (lambda (tag) - `((a (@ (href ,(format #f "tags/~a.html" tag))) ,tag) " ")) - tags))))) + ,@(drop-right + (apply + append + (map (lambda (tag) + `((a (@ (href ,(format #f "tags/~a.html" tag))) ,tag) ", ")) + tags)) + 1))))) (else div))))