--- import type { HTMLAttributes } from 'astro/types'; import type { FeatureImage as Image } from '../lib/images'; import FeatureImage from './FeatureImage.astro'; type Props = HTMLAttributes<'article'> & { title: string; image?: Image; as?: 'article' | 'section'; }; const { title, image, as: Tag = 'article', class: className, ...attributes } = Astro.props; ---

{title}

{Astro.slots.has('body') && (
)}