From bf75bbf48ffb7e81c8ded9fe740ddc944ccf0c78 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Mon, 26 Feb 2018 17:00:59 +0100 Subject: [PATCH] Separate post tags with commas --- haunt.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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)))) -- 2.39.5