aboutsummaryrefslogtreecommitdiff
path: root/haunt/custom/tag.scm
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-05-11 08:14:48 -0400
committerJakob L. Kreuze2019-05-11 08:14:48 -0400
commit43a0084358370d0e735fe98b567250d03d983f2a (patch)
treeaba0cb2e5ca7bcf5479760e8e43010e8941ac167 /haunt/custom/tag.scm
parent712ada51362fa7b477301beee7728cb083581c88 (diff)
Use more accurate variable names for destructuring
Diffstat (limited to 'haunt/custom/tag.scm')
-rw-r--r--haunt/custom/tag.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/haunt/custom/tag.scm b/haunt/custom/tag.scm
index c8a0337..3821499 100644
--- a/haunt/custom/tag.scm
+++ b/haunt/custom/tag.scm
@@ -51,9 +51,9 @@ is used."
"Return a procedure that transforms a list of posts into pages containing only
the posts that have a certain tag."
(lambda (site posts)
- (map (lambda (alist)
- (let* ((tag-name (car alist))
- (posts (posts/reverse-chronological (cdr alist)))
+ (map (lambda (pair)
+ (let* ((tag-name (car pair))
+ (posts (posts/reverse-chronological (cdr pair)))
(title (format #f "Posts tagged as \"~a\"" tag-name))
(file-name (format #f "tag-~a.html" tag-name))
(body `(h1 ,(format #f "Tagged as \"~a\"" tag-name))))

© 2015 - 2026 Jakob L. Kreuze