Merge pull request #30 from InDevLand/master

`compile-pages` method now uses the page's :layout
This commit is contained in:
Carmen La 2015-07-06 09:23:03 -04:00
commit 2264af82df

View file

@ -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