Fix a symbol-scoping bug in the static pages plugin.
This commit is contained in:
parent
29e0fe0f58
commit
558e2d1e0d
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue