html/404 should reside in root

master
jem 5 years ago
parent cdf7dbef6e
commit edc93f6857

@ -119,5 +119,7 @@
(defn copy-resources-from-theme!
[fs-prefix theme target-path ignore-patterns]
(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)))

@ -106,5 +106,5 @@
(verify-file-exists
(str target "/css/dummy.css"))
(verify-file-exists
(str target "/html/404.html"))
(str target "/404.html"))
))))

Loading…
Cancel
Save