Limit number of shown posts with Casper theme

Is there a way to limit the number of posts that show on the homepage of the Casper theme?

It currently shows all published posts.

Thanks in advance!

You have to change the posts_per_page in the package.json file.

By default, the Casper theme is set to 25.

Thanks Biron!

1 Like