Pattern generation for each site is working

This commit is contained in:
heyarne 2021-07-15 19:35:43 +02:00
commit ed3f357318
2 changed files with 87 additions and 9 deletions

View file

@ -29,4 +29,4 @@
:posts {:each :posts
:dest (bagatto/%p "posts" '%i "title" '% ".html")
:out (fn [data item]
(views/with-raw-html data (bagatto/mmarkdown->html (item :contens))))}})
(views/base data (bagatto/mmarkdown->html (item :contents)) true))}})