import type { Metadata } from "next"; import Link from "next/link"; import { getPosts } from "@/lib/posts"; export const metadata: Metadata = { title: "Personal Blog" }; export default function BlogPage() { const posts = getPosts("blog"); return (
Personal Blog

Kişisel yazılar, düşünceler, kariyer notları

{posts.length === 0 ? (
Henüz yazı yok. Yakında...
) : (
{posts.map((post) => (

{post.title}

{post.excerpt}

{post.tags.map((t) => {t})}
{new Date(post.date).toLocaleDateString("tr-TR", { year: "numeric", month: "long", day: "numeric" })}
))}
)}
); }