Explorar o código

Fix thinko in write-document.

Brit Butler %!s(int64=11) %!d(string=hai) anos
pai
achega
5f75afde21
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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."