Merge pull request #30 from InDevLand/master
`compile-pages` method now uses the page's :layout
This commit is contained in:
commit
2264af82df
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