mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
作业功能
This commit is contained in:
1 parent
216a4a91e4
commit
bc50913e6e
60 files changed
+1161
-197
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ const build = (dirOrObject, exclude = []) => {
|
||||
}
|
||||
} else templates = dirOrObject;
|
||||
for (const i in templates) {
|
||||
if (!exclude.includes(i)) {
|
||||
if (!exclude.includes(i) && i.endsWith('.html')) {
|
||||
templates[i] = templates[i]
|
||||
.trim()
|
||||
.replace(/ *\n */gmi, ' ')
|
||||
|
||||
Reference in new issue
Block a user