mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 04:07:56 +01:00
@@ -59,18 +59,20 @@ const dates = computed(() => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const title = page.value.head?.title || page.value.title
|
||||||
|
const description = page.value.head?.description || page.value.description
|
||||||
useSeoMeta({
|
useSeoMeta({
|
||||||
titleTemplate: '%s - Nuxt UI',
|
titleTemplate: '%s - Nuxt UI',
|
||||||
title: page.value.title,
|
title,
|
||||||
ogTitle: `${page.value.title} - Nuxt UI`,
|
description,
|
||||||
description: page.value.description,
|
ogTitle: `${title} - Nuxt UI`,
|
||||||
ogDescription: page.value.description
|
ogDescription: description
|
||||||
})
|
})
|
||||||
|
|
||||||
defineOgImage({
|
defineOgImage({
|
||||||
component: 'Docs',
|
component: 'Docs',
|
||||||
title: page.value.title,
|
title,
|
||||||
description: page.value.description
|
description
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user