--- import "../styles/global.css"; export interface Props { title: string; description: string; image?: string; type?: string; next?: string; prev?: string; canonicalURL?: string | URL; } const { title, description, image, type, next, prev, canonicalURL } = Astro.props as Props; --- {title} {next && } {prev && } {image && } {image && }