Using Sanity to generate a static blog with pagination

1 replies
Last updated: Apr 2, 2020
Is there a way to use Sanity to generate a static blog (Next or Gatsby) with static pagination? 🤔
Apr 2, 2020, 3:46 PM
With Gatsby that’s pretty easy. You can get a blog up and running in minutes with Sanity’s blog starter:
https://www.sanity.io/create?template=sanity-io%2Fsanity-template-gatsby-blog
Then follow this guide to add the pagination:

https://www.gatsbyjs.org/docs/adding-pagination/
Apr 2, 2020, 4:02 PM

Sanity– build remarkable experiences at scale

The Sanity Composable Content Cloud is the headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?

Categorized in