diff --git a/project.clj b/project.clj index a9cf4f3..17a5057 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject cryogen-core "0.1.26" +(defproject cryogen-core "0.1.27" :description "Cryogen's compiler" :url "https://github.com/cryogen-project/cryogen-core" :license {:name "Eclipse Public License" @@ -9,8 +9,8 @@ [crouton "0.1.2"] [cheshire "5.5.0"] [clj-text-decoration "0.0.3"] - [io.aviso/pretty "0.1.19"] + [io.aviso/pretty "0.1.20"] [hiccup "1.0.5"] - [selmer "0.9.3"] + [selmer "0.9.5"] [pandect "0.5.4"] [clj-tagsoup "0.3.0" :exclusions [org.clojure/clojure]]]) diff --git a/src/cryogen_core/compiler.clj b/src/cryogen_core/compiler.clj index fccaffb..07b191d 100644 --- a/src/cryogen_core/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -123,7 +123,8 @@ (fn [mu] (->> (find-posts config mu) - (pmap #(parse-post % config mu)))) + (pmap #(parse-post % config mu)) + (remove #(= (:draft? %) true)))) (m/markups)) (sort-by :date) reverse))