import Link from 'next/link'; import { getAllPostsSorted } from '@/lib/posts'; import { siteConfig } from '@/lib/config'; import { PostListItem } from '@/components/post-list-item'; import { TimelineWrapper } from '@/components/timeline-wrapper'; export default function HomePage() { const posts = getAllPostsSorted().slice(0, siteConfig.postsPerPage); return (

{siteConfig.name} 的最新動態

{siteConfig.tagline}

最新文章

所有文章 →
{posts.map((post) => ( ))}
); }