Skip to content

Commit fd19469

Browse files
committed
Clarify a bit the pager term
Closes #775
1 parent a6db79f commit fd19469

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/content/documentation/templates/pagination.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,30 @@ while both a paginated taxonomy page and a paginated section page gets a
1111
`paginator` variable of the `Pager` type:
1212

1313
```ts
14-
// How many items per page
14+
// How many items per pager
1515
paginate_by: Number;
1616
// The base URL for the pagination: section permalink + pagination path
17-
// You can concatenate an integer with that to get a link to a given pagination page.
17+
// You can concatenate an integer with that to get a link to a given pagination pager.
1818
base_url: String;
19-
// How many pagers in this paginator
19+
// How many pagers in total
2020
number_pagers: Number;
21-
// Permalink to the first page
21+
// Permalink to the first pager
2222
first: String;
23-
// Permalink to the last page
23+
// Permalink to the last pager
2424
last: String;
25-
// Permalink to the previous page, if there is one
25+
// Permalink to the previous pager, if there is one
2626
previous: String?;
27-
// Permalink to the next page, if there is one
27+
// Permalink to the next pager, if there is one
2828
next: String?;
29-
// All pages for the current page
29+
// All pages for the current pager
3030
pages: Array<Page>;
31-
// Which page are we on
31+
// Which pager are we on
3232
current_index: Number;
3333
```
3434

35+
A pager is a page of the pagination: if you have 100 pages and are paginating 10 by 10, you will have 10 pagers containing
36+
each 10 pages.
37+
3538
## Section
3639

3740
A paginated section gets the same `section` variable as a normal

0 commit comments

Comments
 (0)