修复伪静态分页bug

This commit is contained in:
tangly1024.com
2024-06-12 16:22:38 +08:00
parent 557bbf18b8
commit 41acdc09ec
9 changed files with 66 additions and 47 deletions

View File

@@ -24,6 +24,7 @@ export const BlogListPage = props => {
.split('?')[0]
.replace(/\/page\/[1-9]\d*/, '')
.replace(/\/$/, '')
.replace('.html', '')
const showPageCover = siteConfig('EXAMPLE_POST_LIST_COVER', null, CONFIG)