From 82d3a5677ff4b1cdfae5ccb38fd9c2694e7c9c65 Mon Sep 17 00:00:00 2001 From: InDevLand Date: Mon, 6 Jul 2015 04:02:42 +0200 Subject: [PATCH] fixed compile-pages now use :layout --- src/cryogen_core/compiler.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryogen_core/compiler.clj b/src/cryogen_core/compiler.clj index 9d2359b..c796715 100644 --- a/src/cryogen_core/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -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