diff --git a/src/runtime/entrypoints/main.ts b/src/runtime/entrypoints/main.ts index 96e2f089036..de401bfb905 100644 --- a/src/runtime/entrypoints/main.ts +++ b/src/runtime/entrypoints/main.ts @@ -710,7 +710,9 @@ export async function applyPartials(res: Response): Promise { } // Update - document.title = doc.title; + if (doc.title) { + document.title = doc.title; + } // Needs to be converted to an array otherwise somehow -tags // are missing.