소스 검색

Fix a symbol-scoping bug in the static pages plugin.

Brit Butler 10 년 전
부모
커밋
558e2d1e0d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      plugins/static-pages.lisp

+ 2 - 2
plugins/static-pages.lisp

@@ -20,9 +20,9 @@
20 20
 
21 21
 (defmethod initialize-instance :after ((object page) &key)
22 22
   ;; Expect all static-pages to be written in Markdown for now.
23
-  (with-slots (url text) object
23
+  (with-slots (url coleslaw::text) object
24 24
     (setf url (make-pathname :defaults url)
25
-          text (render-text text :md))))
25
+          coleslaw::text (render-text coleslaw::text :md))))
26 26
 
27 27
 (defmethod render ((object page) &key next prev)
28 28
   ;; For the time being, we'll re-use the normal post theme.