Fix titles

This commit is contained in:
2021-04-18 19:18:08 +02:00
parent 70ef9d54b1
commit 2e814784e7
2 changed files with 4 additions and 7 deletions

View File

@@ -30,10 +30,8 @@ export default {
head() {},
setup() {
const { i18n } = useContext()
useMeta({
title: `${i18n.t('header.about')} - Arthur Danjou`
})
const { title } = useMeta()
title.value = `${i18n.t('header.about')} - Arthur Danjou`
}
}
</script>

View File

@@ -41,9 +41,8 @@ export default {
return $content('projects').fetch<Project>()
})
useMeta({
title: `${i18n.t('header.projects')} - Arthur Danjou`
})
const { title } = useMeta()
title.value = `${i18n.t('header.projects')} - Arthur Danjou`
return {
projects