--- import '@fontsource/open-sans/400-italic.css'; import '@fontsource/open-sans/400.css'; import '@fontsource/open-sans/700-italic.css'; import '@fontsource/open-sans/700.css'; import '@fontsource/quicksand/400.css'; import '@fontsource/quicksand/700.css'; import Footer from '../components/Footer.astro' import Header from '../components/Header.astro' interface Props { title: string; type?: 'text' | 'website'; image?: string; description?: string; } const {title, type, description, image} = Astro.props const imageUrl = image ? image : new URL('/images/vikunja.jpg', Astro.url) const base = (new URL(Astro.url.pathname, Astro.site)).toString() const canonical = base.endsWith('/') ? base.substring(0, Astro.url.toString().length - 1) : base --- {title} {description && }