rearrange
This commit is contained in:
parent
b16a1ef1bb
commit
f3c5976c6a
1 changed files with 6 additions and 6 deletions
|
@ -15,12 +15,6 @@
|
|||
|
||||
(def public "resources/public")
|
||||
|
||||
(defn copy-resources-from-templates!
|
||||
[fs-prefix resources target-path ignore-patterns]
|
||||
(let [resource-path "templates"]
|
||||
(cp-io/copy-resources! fs-prefix resource-path resources
|
||||
target-path ignore-patterns)))
|
||||
|
||||
(defn copy-resources-from-theme!
|
||||
[fs-prefix theme target-path ignore-patterns]
|
||||
(let [theme-path (str "templates/themes/" theme)]
|
||||
|
@ -35,6 +29,12 @@
|
|||
(cp-io/copy-resources! fs-prefix theme-path ["html"]
|
||||
target-path ignore-patterns)))
|
||||
|
||||
(defn copy-resources-from-templates!
|
||||
[fs-prefix resources target-path ignore-patterns]
|
||||
(let [resource-path "templates"]
|
||||
(cp-io/copy-resources! fs-prefix resource-path resources
|
||||
target-path ignore-patterns)))
|
||||
|
||||
(defn get-distinct-markup-dirs
|
||||
[fs-prefix posts pages ignore-patterns]
|
||||
(let [base-path "templates/md"
|
||||
|
|
Loading…
Reference in a new issue