html/404 should reside in root
This commit is contained in:
parent
cdf7dbef6e
commit
edc93f6857
2 changed files with 4 additions and 2 deletions
|
@ -119,5 +119,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)]
|
||||||
(copy-resources! fs-prefix theme-path ["css" "js" "html"]
|
(copy-resources! fs-prefix theme-path ["css" "js"]
|
||||||
|
target-path ignore-patterns)
|
||||||
|
(copy-resources! fs-prefix (str theme-path "/html") ["404.html"]
|
||||||
target-path ignore-patterns)))
|
target-path ignore-patterns)))
|
||||||
|
|
|
@ -106,5 +106,5 @@
|
||||||
(verify-file-exists
|
(verify-file-exists
|
||||||
(str target "/css/dummy.css"))
|
(str target "/css/dummy.css"))
|
||||||
(verify-file-exists
|
(verify-file-exists
|
||||||
(str target "/html/404.html"))
|
(str target "/404.html"))
|
||||||
))))
|
))))
|
||||||
|
|
Loading…
Reference in a new issue