import GlobalFooter from "../components/GlobalFooter.tsx"; import GlobalHeader from "../components/GlobalHeader.tsx"; import PageLayout from "../components/PageLayout.tsx"; import Pagination from "../components/Pagination.tsx"; import PostPageEntry from "../components/PostPageEntry.tsx"; import { Config } from "../config.ts"; import { PostPage } from "../generators/post.ts"; export default function PostListPage( posts: PostPage[], config: Config, currentPage: number, totalPages: number, ) { const pageTitle = "投稿一覧"; const pageInfoSuffix = ` (${currentPage}ページ目)`; const metaTitle = `${pageTitle}${pageInfoSuffix}|${config.blog.siteName}`; const metaDescription = `投稿した記事の一覧${pageInfoSuffix}`; return (

{pageTitle}{pageInfoSuffix}

{posts.map((post) => )}
); }