mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-18 22:11:44 +01:00
Fix titles
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user