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