{post.data.title} -{" "}
{post.data.pubDate.toDateString()}
{post.data.description}
--- import { getCollection } from "astro:content"; const posts = (await getCollection("blog")) .filter( (entry) => !entry.data.wip || process.env.NODE_ENV === "development" ) .sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()); ---