--- // The one news card — used by the home page and the /news archive. // `featured` (archive page 1, first item) switches the wide lead variant and // eager-loads its cover. Cover alt stays empty by design: the image is // decorative next to the always-visible title. import { fmt, iso, readMin } from '../lib/news.js'; const { post, featured = false } = Astro.props; ---
{post.data.cover && }

{post.data.title}

{post.data.description}

{readMin(post)} min read