Minor thinko/bugfix.

This commit is contained in:
Brit Butler 2013-01-01 20:07:31 -05:00
parent 3d1301dc6d
commit 04937e88bf

View file

@ -25,7 +25,7 @@
(defmethod discover ((content-type (eql :post)))
(purge-all '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*)
(error "There is already an existing post with the slug ~a."
(content-slug post))