<template>
  <UApp>
    <NuxtLayout>
      <NuxtPage />
    </NuxtLayout>
    <UNotifications />
  </UApp>
</template>

<script setup lang="ts">
const config = useRuntimeConfig().public;
useHead({
  titleTemplate: (title) => {
    if (!title || title === config.appTitle) return config.appTitle;
    return `${title} · ${config.appTitle}`;
  },
});
</script>
