mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-30 19:57:54 +01:00
Fix titles
This commit is contained in:
@@ -30,10 +30,8 @@ export default {
|
|||||||
head() {},
|
head() {},
|
||||||
setup() {
|
setup() {
|
||||||
const { i18n } = useContext()
|
const { i18n } = useContext()
|
||||||
|
const { title } = useMeta()
|
||||||
useMeta({
|
title.value = `${i18n.t('header.about')} - Arthur Danjou`
|
||||||
title: `${i18n.t('header.about')} - Arthur Danjou`
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -41,9 +41,8 @@ export default {
|
|||||||
return $content('projects').fetch<Project>()
|
return $content('projects').fetch<Project>()
|
||||||
})
|
})
|
||||||
|
|
||||||
useMeta({
|
const { title } = useMeta()
|
||||||
title: `${i18n.t('header.projects')} - Arthur Danjou`
|
title.value = `${i18n.t('header.projects')} - Arthur Danjou`
|
||||||
})
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
projects
|
projects
|
||||||
|
|||||||
Reference in New Issue
Block a user