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