This commit is contained in:
2026-01-04 15:24:29 -06:00
parent 74d75d08dd
commit 661def8a5c
3 changed files with 14 additions and 8 deletions

View File

@@ -51,9 +51,9 @@ const routes: Route[] = [
return ret;
};
const rrr = lr(routes)
const template=`
const rrr = lr(routes);
const template = `
<html>
<head></head>
<body>
@@ -64,8 +64,8 @@ const routes: Route[] = [
</ul>
</body>
</html>
`
const result = nunjucks.renderString(template,{rrr})
`;
const result = nunjucks.renderString(template, { rrr });
const listing = lr(routes).join(", ");
return {