jkdjskjd
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user