This commit is contained in:
Carmen La 2016-12-18 19:22:29 -05:00
parent 551a8e5c21
commit e3d2d3f433
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -143,7 +143,7 @@
(m/markups))
(sort-by :date)
reverse
(drop-while #(and (:hide-future-posts? config) (.after (:date %) (:today config))))))
(drop-while #(and (:hide-future-posts? config) (.after (:date %) (java.util.Date.))))))
(defn read-pages
"Returns a sequence of maps representing the data from markdown files of pages.