mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 15:10:19 +00:00
封装isBroswer()
This commit is contained in:
@@ -27,7 +27,7 @@ export async function getStaticProps() {
|
||||
if (BLOG.POST_LIST_STYLE !== 'page') {
|
||||
postsToShow = Array.from(allPosts)
|
||||
} else {
|
||||
postsToShow = allPosts.slice(
|
||||
postsToShow = allPosts?.slice(
|
||||
BLOG.POSTS_PER_PAGE * (page - 1),
|
||||
BLOG.POSTS_PER_PAGE * page
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user