|
@@ -10,9 +10,9 @@
|
10
|
10
|
(reduce (lambda (x y) (union x y :test #'string=))
|
11
|
11
|
(mapcar #'post-tags (hash-table-values *posts*))))
|
12
|
12
|
|
13
|
|
-(defun taglinks ()
|
14
|
|
- "Generate links to all the tag indices."
|
15
|
|
- (loop for tag in (sort (all-tags) #'string<)
|
|
13
|
+(defun taglinks (&optional tags)
|
|
14
|
+ "Generate links to all the tag indices or those in TAGS."
|
|
15
|
+ (loop for tag in (or tags (sort (all-tags) #'string<))
|
16
|
16
|
collect (list :url (format nil "~a/tag/~a.html" (domain *config*) tag)
|
17
|
17
|
:name tag)))
|
18
|
18
|
|