Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ exports[`buildAllRoutes works for realistic blog post 2`] = `
"listMetadata": {
"blogDescription": "Custom blog description",
"blogTitle": "Custom blog title",
"nextPage": "/blog/authors/author1/authors/2",
"nextPage": "/blog/authors/author1/page/2",
"page": 1,
"permalink": "/blog/authors/author1",
"postsPerPage": 2,
Expand Down Expand Up @@ -429,7 +429,7 @@ exports[`buildAllRoutes works for realistic blog post 2`] = `
],
"sidebar": "@aliased/data/blog-post-list-prop-default.json",
},
"path": "/blog/authors/author1/authors/2",
"path": "/blog/authors/author1/page/2",
"props": {
"author": {
"count": 3,
Expand All @@ -444,7 +444,7 @@ exports[`buildAllRoutes works for realistic blog post 2`] = `
"blogTitle": "Custom blog title",
"nextPage": undefined,
"page": 2,
"permalink": "/blog/authors/author1/authors/2",
"permalink": "/blog/authors/author1/page/2",
"postsPerPage": 2,
"previousPage": "/blog/authors/author1",
"totalCount": 3,
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-blog/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export async function buildAllRoutes({
basePageUrl: author.page.permalink,
blogDescription,
blogTitle,
pageBasePath: authorsBasePath,
pageBasePath,
postsPerPageOption: postsPerPage,
});

Expand Down