enable theme images

This commit is contained in:
jem 2020-02-22 13:50:29 +01:00
parent 4afdb823d8
commit 4a2e9db68c

View file

@ -19,7 +19,7 @@
(defn copy-resources-from-theme! (defn copy-resources-from-theme!
[fs-prefix theme target-path ignore-patterns] [fs-prefix theme target-path ignore-patterns]
(let [theme-path (str "templates/themes/" theme)] (let [theme-path (str "templates/themes/" theme)]
(cp-io/copy-resources! fs-prefix theme-path ["css" "js"] (cp-io/copy-resources! fs-prefix theme-path ["css" "js" "img"]
target-path ignore-patterns) target-path ignore-patterns)
(cp-io/copy-resources! fs-prefix (str theme-path "/html") ["404.html"] (cp-io/copy-resources! fs-prefix (str theme-path "/html") ["404.html"]
target-path ignore-patterns))) target-path ignore-patterns)))