File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
docs/content/documentation/templates Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -11,27 +11,30 @@ while both a paginated taxonomy page and a paginated section page gets a
11
11
` paginator ` variable of the ` Pager ` type:
12
12
13
13
``` ts
14
- // How many items per page
14
+ // How many items per pager
15
15
paginate_by : Number ;
16
16
// 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 .
18
18
base_url : String ;
19
- // How many pagers in this paginator
19
+ // How many pagers in total
20
20
number_pagers : Number ;
21
- // Permalink to the first page
21
+ // Permalink to the first pager
22
22
first : String ;
23
- // Permalink to the last page
23
+ // Permalink to the last pager
24
24
last : String ;
25
- // Permalink to the previous page , if there is one
25
+ // Permalink to the previous pager , if there is one
26
26
previous : String ? ;
27
- // Permalink to the next page , if there is one
27
+ // Permalink to the next pager , if there is one
28
28
next : String ? ;
29
- // All pages for the current page
29
+ // All pages for the current pager
30
30
pages : Array < Page > ;
31
- // Which page are we on
31
+ // Which pager are we on
32
32
current_index : Number ;
33
33
```
34
34
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
+
35
38
## Section
36
39
37
40
A paginated section gets the same ` section ` variable as a normal
You can’t perform that action at this time.
0 commit comments