2023-08-05 15:06:40 +02:00
|
|
|
<script setup lang="ts">
|
|
|
|
const head = useLocaleHead({
|
|
|
|
addDirAttribute: true,
|
|
|
|
addSeoAttributes: true,
|
|
|
|
})
|
2023-09-07 18:13:09 +02:00
|
|
|
|
|
|
|
const settings = await useSettings()
|
|
|
|
|
|
|
|
useHead({
|
|
|
|
titleTemplate: (titleChunk) => {
|
|
|
|
const baseTitle = settings.value.portal_title
|
|
|
|
return titleChunk ? `${titleChunk} - ${baseTitle}` : baseTitle
|
|
|
|
},
|
|
|
|
})
|
2023-08-05 15:06:40 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<NuxtLayout>
|
|
|
|
<Html :lang="head.htmlAttrs?.lang" :dir="head.htmlAttrs?.dir" />
|
|
|
|
|
|
|
|
<NuxtPage />
|
|
|
|
</NuxtLayout>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
font-family: 'Source Sans 3';
|
|
|
|
}
|
|
|
|
|
|
|
|
#__nuxt {
|
|
|
|
@apply min-h-screen flex;
|
|
|
|
}
|
|
|
|
</style>
|