--- import 'chota/dist/chota.min.css'; import '../styles/global.css'; import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; export interface Props { title?: string; description?: string; image?: string; } const { title: titleProp, description = 'Cats of people working in the tech industry', image } = Astro.props; const title = `${titleProp ? `${titleProp} - ` : ''}Cats Of Tech`; const imageUrl = image ? new URL(image, Astro.site) : null; --- {title} { imageUrl && ( <> ) }