fixed compile-pages now use :layout
This commit is contained in:
parent
e7636e7586
commit
82d3a5677f
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@
|
|||
(doseq [{:keys [uri] :as page} pages]
|
||||
(println "\t-->" (cyan uri))
|
||||
(spit (str public uri)
|
||||
(render-file "/html/page.html"
|
||||
(render-file (str "/html/" (:layout page))
|
||||
(merge params
|
||||
{:servlet-context "../"
|
||||
:page page
|
||||
|
|
Loading…
Reference in a new issue