Stage uncommited changes

This commit is contained in:
heyarne 2022-02-20 13:37:27 +01:00
commit a4a10a6cd0
4 changed files with 54 additions and 12 deletions

View file

@ -37,9 +37,9 @@
(update date :week-day (comp |(mod $0 7) inc))))
(defn parse-post [slurped item]
(let [post (bagatto/parse-mmarkdown slurped item) ]
(put post :published-at (path->date (post :path)))
post))
(let [post (bagatto/parse-mmarkdown slurped item)]
(print post)
(put post :published-at (path->date (post :path)))))
(defn absolute-url [path]
(string base-url path))
@ -87,7 +87,6 @@
:filter sass?}
:font {:each :font
:dest (fn [_data item]
(printf "%j" item)
(item :path))}
:posts {:each :posts
:dest utils/slugify-content