diff --git a/src/docs/pagination.md b/src/docs/pagination.md index 0dac6f2..69cf395 100644 --- a/src/docs/pagination.md +++ b/src/docs/pagination.md @@ -4,7 +4,7 @@ title: Pagination The blog posts use [Eleventy's pagination feature](https://www.11ty.dev/docs/pagination/). The logic for this can be found in the layout `src/_layouts/blog.njk`, how many entries should be on a page can be defined in `src/pages/blog.md`. -If you do not want any pagination at all, it is easiest to specify a very high number for the pagination size, for example: +If you do not want any pagination at all, it is easiest to set a very high number for the pagination size, for example: ```yaml pagination: @@ -12,16 +12,14 @@ data: collections.posts size: 10000 ``` -Now all entries are displayed under `/blog/` and there is no more pagination. - -In `src/_data_/meta.js` you can set some values for the visible content and the aria labels. +In `src/_data_/meta.js` you can set some values for the visible content (previous / next buttons) and the aria labels. You can also **hide the number fields** between the previous and next buttons by setting `paginationNumbers` to `false`. ```js blog: { // other adjustments - pagination: 'Blog', + paginationLabel: 'Blog', paginationPage: 'Page', paginationPrevious: 'Previous', paginationNext: 'Next',