TylerBarnes / using-gatsby-source-wordpress-experimental

A starter for the upcoming gatsby-source-wordpress@v4
https://www.npmjs.com/package/gatsby-source-wordpress-experimental
MIT License
86 stars 29 forks source link

Update offset to be 0 rather than 10 for the root /blog/ page #4

Closed justinwhall closed 4 years ago

justinwhall commented 4 years ago

The iteration of the map the offset is calculated to be 10. This should be 0. This results in an empty /blog page if there are less than 10 blog posts or in proper pagination if there are more than 10.