mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-30 15:10:11 +00:00
文章详情页
This commit is contained in:
@@ -36,6 +36,7 @@ export async function getStaticProps ({ params: { page } }) {
|
||||
description: BLOG.description,
|
||||
type: 'website'
|
||||
}
|
||||
|
||||
// 处理分页
|
||||
const postsToShow = allPosts.slice(
|
||||
BLOG.postsPerPage * (page - 1),
|
||||
|
||||
Reference in New Issue
Block a user