Skip to content

Commit

Permalink
feat(variables): Add documentation for next and previous
Browse files Browse the repository at this point in the history
  • Loading branch information
natjms committed Jul 1, 2024
1 parent a003fc0 commit f4f1c49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Variable | Format | Description
`page.file.permalink` | String | Relative path to the source file.
`page.collection` | String | The slug of the page's collection. `"posts"` for posts.
`page.data` | Object | User-defined data, see [frontmatter](/docs/front).
`page.next` | Object | Page variables of the next page in the collection. Only available in posts
`page.previous` | Object | Page variables of the previous page in the collection. Only available in posts

Additionally, in the context of your [page layout](/docs/layouts):

Expand Down

0 comments on commit f4f1c49

Please sign in to comment.