--- import { ClientRouter } from 'astro:transitions'; import { readSingleton } from '@directus/sdk'; import directus from '@lib/directus'; import BaseHead from '@components/BaseHead.astro'; import Footer from '@components/Footer.astro'; import Header from '@components/Header.astro'; import '@styles/global.css'; interface Props { title?: string; description?: string; ogImage?: any; lang?: string; structuredData?: object; } const { title, description = 'Alex Lebens', ogImage, lang = 'en', structuredData } = Astro.props; const global = await directus.request(readSingleton('site_global')); const normalizeTitle = !title ? global.name : `${title} | ${global.name}`; ---