Skip to content

Commit

Permalink
chore: add pinned PFCCLab#46
Browse files Browse the repository at this point in the history
  • Loading branch information
hu-qi committed Mar 26, 2024
1 parent ca28c7e commit 099bbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/.vitepress/theme/loaders/posts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function createPostsLoader(getPostsPerPage: () => number) {
} else {
return b.date.time - a.date.time
}
});
})
const postsPerPage = getPostsPerPage()
const numPages = Math.ceil(posts.length / postsPerPage)
await createPagesDynamicRoutesWithCache(numPages)
Expand Down

0 comments on commit 099bbfc

Please sign in to comment.