From f0cc7353c1797d62a3a533b3d79ddc060bca461c Mon Sep 17 00:00:00 2001 From: Carmen La Date: Tue, 17 Jan 2017 01:56:14 -0500 Subject: [PATCH] Pass both page/post params to the index template --- project.clj | 2 +- src/cryogen_core/compiler.clj | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index aafa6fd..316ad33 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject cryogen-core "0.1.49" +(defproject cryogen-core "0.1.50" :description "Cryogen's compiler" :url "https://github.com/cryogen-project/cryogen-core" :license {:name "Eclipse Public License" diff --git a/src/cryogen_core/compiler.clj b/src/cryogen_core/compiler.clj index b9e50a6..5219e67 100644 --- a/src/cryogen_core/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -378,7 +378,8 @@ :home true :disqus? disqus? :uri uri - :post home-page}))))) + :post home-page + :page home-page}))))) (defn compile-archives "Compiles the archives page into html and spits it out into the public folder"