diff --git a/src/runtime/composables/head.ts b/src/runtime/composables/head.ts index a62f91a02..1a7996c28 100644 --- a/src/runtime/composables/head.ts +++ b/src/runtime/composables/head.ts @@ -18,7 +18,10 @@ export const useContentHead = ( const head: HeadObjectPlain = Object.assign({}, data?.head || {}) // Great basic informations from the data - head.title = head.title || data?.title + const title = head.title || data?.title + if (title) { + head.title = title + } head.meta = [...(head.meta || [])] // Grab description from `head.description` or fallback to `data.description`