Bugfix to RENDER-POSTS.

This commit is contained in:
Brit Butler 2012-08-20 10:46:24 -04:00
parent 3736c0862d
commit d571634677

View file

@ -15,8 +15,8 @@
(do-files (file (repo *config*) "post")
(with-open-file (in file)
(let ((post (read-post in)))
(setf (gethash (post-slug post) *metadata*) post)))
(maphash #'write-post *metadata*)))
(setf (gethash (post-slug post) *metadata*) post))))
(maphash #'write-post *metadata*))
(defun read-post (stream)
"Make a POST instance based on the data from STREAM."