From 558e2d1e0d399094527ca4a8ee17e05e6a61547d Mon Sep 17 00:00:00 2001 From: Brit Butler Date: Sun, 9 Nov 2014 20:16:16 -0500 Subject: [PATCH] Fix a symbol-scoping bug in the static pages plugin. --- plugins/static-pages.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/static-pages.lisp b/plugins/static-pages.lisp index eb38033..0b0cd8f 100644 --- a/plugins/static-pages.lisp +++ b/plugins/static-pages.lisp @@ -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.