mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-13 16:23:34 +02:00
blogUtils.ts: improve normalize page permalink
This commit is contained in:
parent
e143329e5d
commit
a6e51983bd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue