mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
blogUtils.ts: improve normalize page permalink
This commit is contained in:
parent
e143329e5d
commit
a6e51983bd
|
|
@ -75,7 +75,7 @@ export function paginateBlogPosts({
|
|||
|
||||
function permalink(page: number) {
|
||||
return page > 0
|
||||
? normalizeUrl([basePageUrl, `${pageBasePath}/${page + 1}`])
|
||||
? normalizeUrl([basePageUrl, pageBasePath, `${page + 1}`])
|
||||
: basePageUrl;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue