Switch back to having a default for COMPILE-THEME.
This commit is contained in:
parent
e23fc10551
commit
5e4f21d2ff
2 changed files with 2 additions and 2 deletions
|
@ -62,6 +62,6 @@ If RAW is non-nil, write the content without wrapping it in the base template."
|
||||||
(defun main ()
|
(defun main ()
|
||||||
"Load the user's config, then compile and deploy the blog."
|
"Load the user's config, then compile and deploy the blog."
|
||||||
(load-config)
|
(load-config)
|
||||||
(compile-theme (app-path "themes/~a/" (theme *config*)))
|
(compile-theme)
|
||||||
(compile-blog (staging *config*))
|
(compile-blog (staging *config*))
|
||||||
(deploy (staging *config*)))
|
(deploy (staging *config*)))
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
"Find the symbol NAME inside the current theme's package."
|
"Find the symbol NAME inside the current theme's package."
|
||||||
(find-symbol name (theme-package)))
|
(find-symbol name (theme-package)))
|
||||||
|
|
||||||
(defun compile-theme (theme-dir)
|
(defun compile-theme (&key (theme-dir (app-path "themes/~a/" (theme *config*))))
|
||||||
"Iterate over the files in THEME-DIR, compiling them when they are templates."
|
"Iterate over the files in THEME-DIR, compiling them when they are templates."
|
||||||
(do-files (file theme-dir "tmpl")
|
(do-files (file theme-dir "tmpl")
|
||||||
(compile-template :common-lisp-backend file)))
|
(compile-template :common-lisp-backend file)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue