Skip to content

Commit

Permalink
feat: increase number of posts on front page
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed Nov 24, 2023
1 parent e09c863 commit 5c3f429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/theme/posts.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default createContentLoader('pages/posts/*.md', {
if (featured.length < 3) {
featured = [
...featured,
...posts.filter((post) => featured.includes(post) === false).slice(0, 3 - featured.length),
...posts.filter((post) => featured.includes(post) === false).slice(0, 10 - featured.length),
];
}

Expand Down

0 comments on commit 5c3f429

Please sign in to comment.