mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
CLOG Plugin Template added
This commit is contained in:
parent
35ec8e0259
commit
0528851ff7
7 changed files with 173 additions and 7 deletions
|
|
@ -220,11 +220,14 @@ create-div's"
|
|||
(ensure-directories-exist out-dir)
|
||||
(cond ((equalp (pathname-type file) tmpl-ext)
|
||||
(let* ((nfile (pathname-name file))
|
||||
(afile (if (equalp (pathname-name nfile) "tmpl")
|
||||
(format nil "~A~A.~A" out-dir sys-name (pathname-type nfile))
|
||||
(format nil "~A~A" out-dir nfile))))
|
||||
(write-file (funcall (cl-template:compile-template (read-file src-file))
|
||||
(list :sys-name sys-name))
|
||||
(afile (cond ((equalp (pathname-name nfile) "tmpl")
|
||||
(format nil "~A~A.~A" out-dir sys-name (pathname-type nfile)))
|
||||
((equalp (pathname-name nfile) "tmpl-tools")
|
||||
(format nil "~A~A-tools.~A" out-dir sys-name (pathname-type nfile)))
|
||||
(t
|
||||
(format nil "~A~A" out-dir nfile)))))
|
||||
(write-file (funcall (cl-template:compile-template (read-file src-file))
|
||||
(list :sys-name sys-name))
|
||||
afile)
|
||||
(when panel
|
||||
(create-div panel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue