--- import type { CollectionEntry } from "astro:content"; import { formatDate } from "../lib/blog"; import { readingTime } from "../lib/reading"; import { series } from "../data/series"; interface Props { posts: CollectionEntry<"blog">[]; } const { posts } = Astro.props; ---
    { posts.map((post) => (
  1. {post.data.hero && (
    )}

    {post.data.title}

    {post.data.summary}

  2. )) }