--- type Props = { title: string; subtitle?: string; id?: string; level?: 'h1' | 'h2' | 'h3'; class?: string; }; const { title, subtitle, id, level: Heading = 'h2', class: className } = Astro.props; ---
{title} {subtitle &&

{subtitle}

}