--- import BlogTagChip from './BlogTagChip.astro'; import type { BlogTag } from '../lib/blog-tags'; interface Props { title: string; description: string; pubDate: Date; slug: string; tags?: BlogTag[]; heroImage?: string; } const { title, description, pubDate, slug, tags = [], heroImage } = Astro.props; const formattedDate = pubDate.toLocaleDateString('en-US', { year: 'numeric', month: 'short', day: 'numeric', }); --- {/* Same stretched-link pattern as BlogPostCard: the tag chips are links of their own. */}
{heroImage ? ( ) : (
)}
Featured ·
{tags.length > 0 && (
{tags.map((tag) => ( ))}
)}

{title}

{description}

Read more