Fix write-document to work for feeds.

This commit is contained in:
Brit Butler 2014-04-28 14:09:27 -04:00
parent 7e028d354e
commit 44e82382f3

View file

@ -58,7 +58,7 @@
(defun write-document (document &optional theme-fn &rest render-args)
"Write the given DOCUMENT to disk as HTML. If THEME-FN is present,
use it as the template passing any RENDER-ARGS."
(let ((html (if render-args
(let ((html (if (or theme-fn render-args)
(apply #'render-page document theme-fn render-args)
(render-page document nil))))
(write-file (page-path obj) html)))