소스 검색

Fix thinko in write-document.

Brit Butler 11 년 전
부모
커밋
5f75afde21
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/documents.lisp

+ 1 - 1
src/documents.lisp

@@ -53,7 +53,7 @@ use it as the template passing any RENDER-ARGS."
53 53
   (let ((html (if (or theme-fn render-args)
54 54
                   (apply #'render-page document theme-fn render-args)
55 55
                   (render-page document nil))))
56
-    (write-file (page-path obj) html)))
56
+    (write-file (page-path document) html)))
57 57
 
58 58
 (defun find-all (doc-type)
59 59
   "Return a list of all instances of a given DOC-TYPE."