Add todo
This commit is contained in:
parent
d2b7b86e0b
commit
399ed2d8ec
1 changed files with 71 additions and 71 deletions
|
@ -253,8 +253,7 @@
|
||||||
:servlet-context (cryogen-io/path "/" blog-prefix "/")
|
:servlet-context (cryogen-io/path "/" blog-prefix "/")
|
||||||
:page page
|
:page page
|
||||||
:uri uri})))
|
:uri uri})))
|
||||||
(compile-pages params (:children page)))
|
(compile-pages params (:children page)))))
|
||||||
))
|
|
||||||
|
|
||||||
(defn compile-posts
|
(defn compile-posts
|
||||||
"Compiles all the posts into html and spits them out into the public folder"
|
"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 [:post-date-format] (fnil str "yyyy-MM-dd"))
|
||||||
(update-in [:keep-files] (fnil seq []))
|
(update-in [:keep-files] (fnil seq []))
|
||||||
(update-in [:ignored-files] (fnil seq [#"^\.#.*" #".*\.swp$"]))
|
(update-in [:ignored-files] (fnil seq [#"^\.#.*" #".*\.swp$"]))
|
||||||
(update-in [:page-model] (fnil keyword :flat))
|
(update-in [:page-model] (fnil keyword :flat)))]
|
||||||
)]
|
|
||||||
(merge
|
(merge
|
||||||
config
|
config
|
||||||
{:page-root-uri (root-uri :page-root-uri config)
|
{:page-root-uri (root-uri :page-root-uri config)
|
||||||
|
@ -548,6 +546,8 @@
|
||||||
resources
|
resources
|
||||||
(cp-io/path "resources/public" blog-prefix)
|
(cp-io/path "resources/public" blog-prefix)
|
||||||
ignored-files)
|
ignored-files)
|
||||||
|
;TODO: replace this
|
||||||
|
; Nur directories kopieren
|
||||||
(copy-resources-from-markup-folders config)
|
(copy-resources-from-markup-folders config)
|
||||||
(compile-pages params modelled-pages)
|
(compile-pages params modelled-pages)
|
||||||
(compile-posts params posts)
|
(compile-posts params posts)
|
||||||
|
|
Loading…
Reference in a new issue