--- import { getVisibleBlogPosts } from "src/utils"; const posts = (await getVisibleBlogPosts()).splice(0, 4); function formatDate(date: Date) { return date.toLocaleDateString("en-US", { year: "numeric", month: "long", day: "numeric", }); } ---

my blog posts

{ posts.map((article) => (
{article.data.title}

{article.data.description}

)) }