|
|
|
@ -59,7 +59,7 @@
|
|
|
|
|
(page-content "aiaiaiai"))
|
|
|
|
|
|
|
|
|
|
(defn now-str []
|
|
|
|
|
(.toString (LocalDateTime/now)))
|
|
|
|
|
(str (LocalDateTime/now)))
|
|
|
|
|
|
|
|
|
|
(defn file->relpath [file]
|
|
|
|
|
(let [fullpath (-> file .toPath .toString)
|
|
|
|
@ -118,7 +118,8 @@
|
|
|
|
|
content (string/replace content #"<p><blink></p>" "")
|
|
|
|
|
simple (-> html
|
|
|
|
|
(string/replace #"&:content" content)
|
|
|
|
|
(string/replace #"&:title" (get-in page [:metadata :title] ""))
|
|
|
|
|
(string/replace #"&:title"
|
|
|
|
|
(get-in page [:metadata :title] ""))
|
|
|
|
|
(string/replace #"&:generated-at" (now-str)))
|
|
|
|
|
particles (particles-in-content simple)
|
|
|
|
|
last-blog-sites (last-blog-sites-in-content simple)
|
|
|
|
|