Fix a regression

This commit is contained in:
Carmen La 2017-01-17 01:41:04 -05:00
parent 1b7f0fb367
commit 6ba76bc7f5
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
(defproject cryogen-core "0.1.48" (defproject cryogen-core "0.1.49"
:description "Cryogen's compiler" :description "Cryogen's compiler"
:url "https://github.com/cryogen-project/cryogen-core" :url "https://github.com/cryogen-project/cryogen-core"
:license {:name "Eclipse Public License" :license {:name "Eclipse Public License"

View file

@ -372,7 +372,7 @@
(print-debug-info meta)) (print-debug-info meta))
(write-html uri (write-html uri
params params
(render-file "/html/home.html" (render-file (str "/html/" (:layout home-page))
(merge params (merge params
{:active-page "home" {:active-page "home"
:home true :home true
@ -497,7 +497,7 @@
:sidebar-pages sidebar-pages :sidebar-pages sidebar-pages
:home-page (if home-page :home-page (if home-page
home-page home-page
(first latest-posts)) (assoc (first latest-posts) :layout "home.html"))
:archives-uri (page-uri "archives.html" config) :archives-uri (page-uri "archives.html" config)
:index-uri (page-uri "index.html" config) :index-uri (page-uri "index.html" config)
:tags-uri (page-uri "tags.html" config) :tags-uri (page-uri "tags.html" config)