|
@@ -3,12 +3,12 @@
|
3
|
3
|
(defun all-months ()
|
4
|
4
|
"Retrieve a list of all months with published posts."
|
5
|
5
|
(remove-duplicates (mapcar (lambda (x) (subseq (post-date x) 0 7))
|
6
|
|
- (hash-table-values *posts*))))
|
|
6
|
+ (hash-table-values *posts*)) :test #'string=))
|
7
|
7
|
|
8
|
8
|
(defun all-tags ()
|
9
|
9
|
"Retrieve a list of all tags used in posts."
|
10
|
|
- (remove-duplicates (mapcan #'post-tags (hash-table-values *posts*))
|
11
|
|
- :test #'string=))
|
|
10
|
+ (reduce (lambda (x y) (union x y :test #'string=))
|
|
11
|
+ (mapcar #'post-tags (hash-table-values *posts*))))
|
12
|
12
|
|
13
|
13
|
(defun taglinks ()
|
14
|
14
|
"Generate links to all the tag indices."
|