Fix npe
This commit is contained in:
parent
551a8e5c21
commit
e3d2d3f433
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue