mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Create html for versions page
This commit is contained in:
@@ -25,26 +25,16 @@ export default defineConfig({
|
||||
title: '404',
|
||||
template: template,
|
||||
}),
|
||||
html({
|
||||
fileName: 'sounds/index.html',
|
||||
title: getTitle({ id: 'title.sounds', page: true }),
|
||||
...['sounds', 'changelog', 'versions'].map(id => html({
|
||||
fileName: `${id}/index.html`,
|
||||
title: getTitle({ id: `title.${id}`, page: true }),
|
||||
template: template,
|
||||
}),
|
||||
html({
|
||||
fileName: 'changelog/index.html',
|
||||
title: getTitle({ id: 'title.changelog', page: true }),
|
||||
})),
|
||||
...['worldgen', 'assets'].map(id => html({
|
||||
fileName: `${id}/index.html`,
|
||||
title: getTitle({ id, category: true }),
|
||||
template: template,
|
||||
}),
|
||||
html({
|
||||
fileName: 'worldgen/index.html',
|
||||
title: getTitle({ id: 'worldgen', category: true }),
|
||||
template: template,
|
||||
}),
|
||||
html({
|
||||
fileName: 'assets/index.html',
|
||||
title: getTitle({ id: 'assets', category: true }),
|
||||
template: template,
|
||||
}),
|
||||
})),
|
||||
...config.generators.map(m => html({
|
||||
fileName: `${m.url}/index.html`,
|
||||
title: getTitle(m),
|
||||
|
||||
Reference in New Issue
Block a user