rearrange

master
jem 4 years ago
parent b16a1ef1bb
commit f3c5976c6a

@ -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…
Cancel
Save