diff --git a/server/index.mts b/server/index.mts index 76bb772..c60aa35 100644 --- a/server/index.mts +++ b/server/index.mts @@ -457,40 +457,57 @@ await commander.program response: express.Response; head: HTML; body: HTML; - }) => html` - - -
- + }) => { + const layoutBody = html` + + $${body} + + `; - + return html` + + + + - - - $${response.locals.css.toString()} + - + + + $${response.locals.css.toString()} - $${head} - + - $${body} $${response.locals.javascript.toString()} - - `; + $${head} + + + $${layoutBody} $${response.locals.javascript.toString()} + + `; + }; application.web.get<{}, any, {}, {}, ResponseLocalsBase>( "/",