Skip to content

Commit

Permalink
perf: adjust the default page size to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
hacxy committed Jan 8, 2025
1 parent c41ebe5 commit 4484366
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-theme/scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async function main() {
// Commit changes to the Git and create a tag.
step('\nCommitting changes...');
await run('git', ['add', 'package.json', 'template']);
await run('git', ['commit', '-m', `chore: release: v${targetVersion}`]);
await run('git', ['commit', '-m', `chore: release CLI version ${targetVersion}`]);

// Publish the package.
step('\nPublishing the package...');
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const NOT_ARTICLE_LAYOUTS = ['blog', 'tags', 'categorys', 'projects', 'home', 'page'];
export const DEFAULT_PAGE_SIZE = 4;
export const DEFAULT_PAGE_SIZE = 5;

0 comments on commit 4484366

Please sign in to comment.