瀏覽代碼

Fix thinko in write-document.

Brit Butler 11 年之前
父節點
當前提交
5f75afde21
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/documents.lisp

+ 1 - 1
src/documents.lisp

53
   (let ((html (if (or theme-fn render-args)
53
   (let ((html (if (or theme-fn render-args)
54
                   (apply #'render-page document theme-fn render-args)
54
                   (apply #'render-page document theme-fn render-args)
55
                   (render-page document nil))))
55
                   (render-page document nil))))
56
-    (write-file (page-path obj) html)))
56
+    (write-file (page-path document) html)))
57
 
57
 
58
 (defun find-all (doc-type)
58
 (defun find-all (doc-type)
59
   "Return a list of all instances of a given DOC-TYPE."
59
   "Return a list of all instances of a given DOC-TYPE."