{article.data.title}
{formatDate(article.data.pubDate).toLowerCase()}
{article.data.description}
read--- import { getBlogPosts } from "src/utils"; interface Article { title: string; description: string; date: string; href: string; } const posts = (await getBlogPosts()).splice(0, 4); function formatDate(date: Date) { return date.toLocaleDateString("en-US", { year: "numeric", month: "long", day: "numeric", }); } ---
here are some of my thoughts on things i'm learning or working on.
{article.data.description}
read