diff --git a/app.vue b/app.vue index f53f129..1f69d03 100644 --- a/app.vue +++ b/app.vue @@ -3,6 +3,15 @@ const head = useLocaleHead({ addDirAttribute: true, addSeoAttributes: true, }) + +const settings = await useSettings() + +useHead({ + titleTemplate: (titleChunk) => { + const baseTitle = settings.value.portal_title + return titleChunk ? `${titleChunk} - ${baseTitle}` : baseTitle + }, +})