mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 15:10:29 +00:00
修复伪静态分页bug
This commit is contained in:
@@ -16,6 +16,7 @@ const PaginationNumber = ({ page, totalPage }) => {
|
||||
.split('?')[0]
|
||||
.replace(/\/page\/[1-9]\d*/, '')
|
||||
.replace(/\/$/, '')
|
||||
.replace('.html', '')
|
||||
const pages = generatePages(pagePrefix, page, currentPage, totalPage)
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user