Update template

This commit is contained in:
Andros Fenollosa
2021-06-28 22:49:25 +02:00
parent 341fa1d958
commit cb92ffb693
2 changed files with 111 additions and 22 deletions

View File

@@ -15,4 +15,7 @@
(.mkdir (java.io.File. dir))
;; Make dist/index.html
(with-open [wrtr (io/writer path)]
(.write wrtr (s/render-file (str "themes/" (:theme config) ".html") {:data data})))))
(.write wrtr (s/render-file (str "themes/" (:theme config) ".html") {
:title (:title config)
:data data
})))))