Minor thinko/bugfix.
This commit is contained in:
parent
3d1301dc6d
commit
04937e88bf
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
(defmethod discover ((content-type (eql :post)))
|
(defmethod discover ((content-type (eql :post)))
|
||||||
(purge-all 'post)
|
(purge-all 'post)
|
||||||
(do-files (file (repo *config*) "post")
|
(do-files (file (repo *config*) "post")
|
||||||
(let ((post (construct :post (read-content file t))))
|
(let ((post (construct 'post (read-content file t))))
|
||||||
(if (gethash (content-slug post) *content*)
|
(if (gethash (content-slug post) *content*)
|
||||||
(error "There is already an existing post with the slug ~a."
|
(error "There is already an existing post with the slug ~a."
|
||||||
(content-slug post))
|
(content-slug post))
|
||||||
|
|
Loading…
Add table
Reference in a new issue