Merge pull request #19 from woudshoo/injections-growth

*injections* was never set to nil, so kept growing indefinitely
This commit is contained in:
Brit Butler 2013-04-02 11:25:10 -07:00
commit 23f2cb16e3

View file

@ -75,8 +75,9 @@ Additional args to render CONTENT can be passed via RENDER-ARGS."
(defun main (config-key)
"Load the user's config section corresponding to CONFIG-KEY, then
compile and deploy the blog."
(load-config config-key)
(load-content)
(compile-theme (theme *config*))
(compile-blog (staging *config*))
(deploy (staging *config*)))
(let (*injections*)
(load-config config-key)
(load-content)
(compile-theme (theme *config*))
(compile-blog (staging *config*))
(deploy (staging *config*))))