Skip to content

Commit

Permalink
fix(docs): adding-pagination.md -> grammar fix (#25315)
Browse files Browse the repository at this point in the history
* Update adding-pagination.md

* Update adding-pagination.md

Co-authored-by: Aisha Blake <aisha@gatsbyjs.com>
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
  • Loading branch information
3 people committed Jul 8, 2020
1 parent 9e6f8c4 commit f68db95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/adding-pagination.md
Expand Up @@ -123,7 +123,7 @@ exports.onCreateNode = ({ node, actions, getNode }) => {
}
```

The code above will create an amount of pages that is based on the total number of posts. Each page will list `postsPerPage`(6) posts, until there are less than `postsPerPage`(6) posts left.
The code above will create a number of pages based on the total number of posts. Each page will list `postsPerPage`(6) posts, until there are less than `postsPerPage`(6) posts left.
The path for the first page is `/blog`, following pages will have a path of the form: `/blog/2`, `/blog/3`, etc.

## Other resources
Expand Down

0 comments on commit f68db95

Please sign in to comment.