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]
|
(doseq [{:keys [uri] :as page} pages]
|
||||||
(println "\t-->" (cyan uri))
|
(println "\t-->" (cyan uri))
|
||||||
(spit (str public uri)
|
(spit (str public uri)
|
||||||
(render-file "/html/page.html"
|
(render-file (str "/html/" (:layout page))
|
||||||
(merge params
|
(merge params
|
||||||
{:servlet-context "../"
|
{:servlet-context "../"
|
||||||
:page page
|
:page page
|
||||||
|
|
Loading…
Reference in a new issue