|
@@ -25,7 +25,7 @@
|
25
|
25
|
(defmethod discover ((content-type (eql :post)))
|
26
|
26
|
(purge-all 'post)
|
27
|
27
|
(do-files (file (repo *config*) "post")
|
28
|
|
- (let ((post (construct :post (read-content file t))))
|
|
28
|
+ (let ((post (construct 'post (read-content file t))))
|
29
|
29
|
(if (gethash (content-slug post) *content*)
|
30
|
30
|
(error "There is already an existing post with the slug ~a."
|
31
|
31
|
(content-slug post))
|