Closed ghost closed 9 years ago
The documentation references calling #'render as follows:
(render #P"something.tmpl" :template-variable "template-value")
Unfortunately, at least on my Quicklisp install of caveman2/cl-emb, this does not work, you have to pass the template variables as a list in the ':env' slot (optional parameter to #'render).
The correct call is:
(render #P"something.tmpl" '(:template-variable "template-value"))
This threw me for a small loop when first setting up (thanks slime for making it so easy to fix though!)
The documentation references calling #'render as follows:
Unfortunately, at least on my Quicklisp install of caveman2/cl-emb, this does not work, you have to pass the template variables as a list in the ':env' slot (optional parameter to #'render).
The correct call is:
This threw me for a small loop when first setting up (thanks slime for making it so easy to fix though!)