修复伪静态分页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

@@ -32,6 +32,7 @@ export default function BlogListPage(props) {
.split('?')[0]
.replace(/\/page\/[1-9]\d*/, '')
.replace(/\/$/, '')
.replace('.html', '')
return (
<div className='w-full md:pr-8 mb-12'>