|
|
|
@ -253,8 +253,7 @@
|
|
|
|
|
:servlet-context (cryogen-io/path "/" blog-prefix "/")
|
|
|
|
|
:page page
|
|
|
|
|
:uri uri})))
|
|
|
|
|
(compile-pages params (:children page)))
|
|
|
|
|
))
|
|
|
|
|
(compile-pages params (:children page)))))
|
|
|
|
|
|
|
|
|
|
(defn compile-posts
|
|
|
|
|
"Compiles all the posts into html and spits them out into the public folder"
|
|
|
|
@ -469,8 +468,7 @@
|
|
|
|
|
(update-in [:post-date-format] (fnil str "yyyy-MM-dd"))
|
|
|
|
|
(update-in [:keep-files] (fnil seq []))
|
|
|
|
|
(update-in [:ignored-files] (fnil seq [#"^\.#.*" #".*\.swp$"]))
|
|
|
|
|
(update-in [:page-model] (fnil keyword :flat))
|
|
|
|
|
)]
|
|
|
|
|
(update-in [:page-model] (fnil keyword :flat)))]
|
|
|
|
|
(merge
|
|
|
|
|
config
|
|
|
|
|
{:page-root-uri (root-uri :page-root-uri config)
|
|
|
|
@ -548,6 +546,8 @@
|
|
|
|
|
resources
|
|
|
|
|
(cp-io/path "resources/public" blog-prefix)
|
|
|
|
|
ignored-files)
|
|
|
|
|
;TODO: replace this
|
|
|
|
|
; Nur directories kopieren
|
|
|
|
|
(copy-resources-from-markup-folders config)
|
|
|
|
|
(compile-pages params modelled-pages)
|
|
|
|
|
(compile-posts params posts)
|
|
|
|
|