Fix write-document to work for feeds.
This commit is contained in:
parent
7e028d354e
commit
44e82382f3
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue