Make generator config more robust

This commit is contained in:
Misode
2021-07-02 02:36:01 +02:00
parent cabd97cb39
commit f43cb03cc3
20 changed files with 158 additions and 172 deletions

View File

@@ -14,7 +14,7 @@ export default defineConfig({
title: '404',
template: template,
}),
...config.models.map(m => html({
...config.generators.map(m => html({
fileName: `${m.id}/index.html`,
title: getTitle(m),
template: template,