This commit is contained in:
parent
19218f98e4
commit
9b4ffccef1
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ async function compilePageList(config: Config, pageList: string[]) {
|
||||||
ul(
|
ul(
|
||||||
...pageList
|
...pageList
|
||||||
.sort((a, b) => a.localeCompare(b, "es", { sensitivity: "base" }))
|
.sort((a, b) => a.localeCompare(b, "es", { sensitivity: "base" }))
|
||||||
.map((name) => li(a({ href: `${name}.html` }, name)))
|
.map((name) => li(a({ href: encodeURI(`${name}.html`) }, name)))
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
await writeFile(outputPath, html);
|
await writeFile(outputPath, html);
|
||||||
|
|
Reference in a new issue