mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 07:26:45 +00:00
主题分页相关调整
This commit is contained in:
@@ -13,7 +13,7 @@ import PaginationSimple from './PaginationSimple'
|
||||
*/
|
||||
const BlogPostListPage = ({ page = 1, posts = [], postCount }) => {
|
||||
const totalPage = Math.ceil(
|
||||
postCount / parseInt(siteConfig('POSTS_PER_PAGE', 12, NOTION_CONFIG))
|
||||
postCount / parseInt(siteConfig('POSTS_PER_PAGE', null, NOTION_CONFIG))
|
||||
)
|
||||
|
||||
if (!posts || posts.length === 0) {
|
||||
|
||||
@@ -16,8 +16,6 @@ const NavPostItem = props => {
|
||||
const toggleOpenSubMenu = () => {
|
||||
changeIsOpen(!isOpen)
|
||||
}
|
||||
console.log('group::')
|
||||
console.log(group)
|
||||
|
||||
if (group?.category) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user