diff --git a/src/equilibrium/render.clj b/src/equilibrium/render.clj index 8b3520c..8ca2ab1 100644 --- a/src/equilibrium/render.clj +++ b/src/equilibrium/render.clj @@ -114,8 +114,10 @@ (particle-content "aside")) (defn fill-in-placeholders [html page] - (let [simple (-> html - (string/replace #"&:content" (:content page "")) + (let [content (:content page "") + content (string/replace content #"

" "") + simple (-> html + (string/replace #"&:content" content) (string/replace #"&:title" (get-in page [:metadata :title] "")) (string/replace #"&:generated-at" (now-str))) particles (particles-in-content simple)