--- import { getCollection } from "astro:content"; import { SITE, POSTS } from "@consts"; import ShowcasePost from "@components/ShowcasePost.astro"; import Layout from "@layouts/Layout.astro"; const posts = (await getCollection("posts")) .filter((post) => !post.data.draft) .sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf()); ---

{POSTS.TITLE}

    {posts.map((article: any) => )}