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

This commit is contained in:
Brit Butler 2014-11-09 20:16:16 -05:00
parent 29e0fe0f58
commit 558e2d1e0d

View file

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