Bugfix to RENDER-POSTS.
This commit is contained in:
parent
3736c0862d
commit
d571634677
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@
|
||||||
(do-files (file (repo *config*) "post")
|
(do-files (file (repo *config*) "post")
|
||||||
(with-open-file (in file)
|
(with-open-file (in file)
|
||||||
(let ((post (read-post in)))
|
(let ((post (read-post in)))
|
||||||
(setf (gethash (post-slug post) *metadata*) post)))
|
(setf (gethash (post-slug post) *metadata*) post))))
|
||||||
(maphash #'write-post *metadata*)))
|
(maphash #'write-post *metadata*))
|
||||||
|
|
||||||
(defun read-post (stream)
|
(defun read-post (stream)
|
||||||
"Make a POST instance based on the data from STREAM."
|
"Make a POST instance based on the data from STREAM."
|
||||||
|
|
Loading…
Add table
Reference in a new issue