We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46723ef commit 9b9b648Copy full SHA for 9b9b648
src/runtime/composables/head.ts
@@ -18,7 +18,10 @@ export const useContentHead = (
18
const head: HeadObjectPlain = Object.assign({}, data?.head || {})
19
20
// Great basic informations from the data
21
- head.title = head.title || data?.title
+ const title = head.title || data?.title
22
+ if (title) {
23
+ head.title = title
24
+ }
25
head.meta = [...(head.meta || [])]
26
27
// Grab description from `head.description` or fallback to `data.description`
0 commit comments