--- import { config } from "~/config" import { formatDate, getPosts } from "~/utils" const posts = (await getPosts()).slice(0, config.latestPosts ?? 8) ---
近期文章
{ posts.map((post: any) => (

{post.data.title}

)) }