--- import Date from "@components/organisms/Date.astro"; import KeywordsList from "@components/organisms/KeywordsList.astro"; import { getFirstUserID, getLastUpdate } from "@lib/collection/helpers"; import type { Original } from "@lib/collection/schemas"; import type { z } from "astro:content"; import type { CollectionEntry } from "astro:content"; interface Props { posts: (CollectionEntry<"blog"> & { data: z.infer })[]; } const { posts } = Astro.props; ---
    { await Promise.all(posts.map(async (post) => { const { id, data } = post; const { title, description, lang, keywords } = data; const { name, email, entity } = await getFirstUserID(post); const display = name ?? email ?? entity; return (
  1. {title}

    { description && description.split("\n\n").map((paragraph) => (

    {paragraph}

    )) }
    {display}
  2. ); })) }