mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
Try fix #609 caused by failure to load djula on sbcl 2.5.11 environment.
This commit is contained in:
parent
bae37247f1
commit
b16e0e7391
|
|
@ -1,7 +1,7 @@
|
|||
#+ros.init
|
||||
(roswell:include '("util" "system") "util-template")
|
||||
#+quicklisp
|
||||
(ql:quickload '("uiop" "djula") :silent t)
|
||||
(ignore-errors (ql:quickload '("uiop" "djula") :silent t))
|
||||
(defpackage :roswell.util.template
|
||||
(:use :cl)
|
||||
(:export
|
||||
|
|
@ -113,7 +113,8 @@
|
|||
:name (format nil "roswell.init.~A" template-name)))
|
||||
|
||||
(defun apply-djula (template-string stream params)
|
||||
(apply 'djula::render-template* (djula::compile-string template-string) stream
|
||||
(apply (read-from-string "djula::render-template*")
|
||||
(read-call "djula::compile-string" template-string) stream
|
||||
`(,@params
|
||||
:author ,(author)
|
||||
:email ,(email)
|
||||
|
|
|
|||
Loading…
Reference in a new issue