chore: lint and format
All checks were successful
Build and Push Backend Image / build (push) Successful in 50s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 11:36:18 +01:00
parent 22a2e63687
commit 9b8b07c653
5 changed files with 108 additions and 104 deletions

View File

@@ -13,10 +13,7 @@ export interface RenderOptions {
[key: string]: unknown;
}
export async function renderTemplate(
name: string,
locals: RenderOptions,
): Promise<string> {
export async function renderTemplate(name: string, locals: RenderOptions): Promise<string> {
// Dynamic import: @maizzle/framework v6 is ESM-only
const { render } = await import("@maizzle/framework");
@@ -35,7 +32,7 @@ export async function renderTemplate(
},
},
locals: {
cssPath: CSS_PATH, // layout uses {{ cssPath }} in <link href="{{ cssPath }}" inline>
cssPath: CSS_PATH, // layout uses {{ cssPath }} in <link href="{{ cssPath }}" inline>
baseUrl: BASE_URL,
...locals,
},