This commit is contained in:
2026-07-18 18:27:37 +02:00
parent 2228fea027
commit 795512b112
2 changed files with 16 additions and 2 deletions

View File

@@ -7,6 +7,13 @@ const { data: page } = await useAsyncData('page-' + route.path, () => {
if (!page.value) {
useHead({ title: 'Page not found', meta: [{ name: 'robots', content: 'noindex' }] })
} else {
useHead({
title: page.value.title,
meta: [
{ name: 'robots', content: 'index, follow' }
]
})
}
</script>