diff --git a/src/pages/about.vue b/src/pages/about.vue index 6558212..1c54f7a 100644 --- a/src/pages/about.vue +++ b/src/pages/about.vue @@ -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` } } diff --git a/src/pages/projects.vue b/src/pages/projects.vue index 1f71a83..b84712e 100644 --- a/src/pages/projects.vue +++ b/src/pages/projects.vue @@ -41,9 +41,8 @@ export default { return $content('projects').fetch() }) - useMeta({ - title: `${i18n.t('header.projects')} - Arthur Danjou` - }) + const { title } = useMeta() + title.value = `${i18n.t('header.projects')} - Arthur Danjou` return { projects