mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
Fix a bit the pagination template doc
This commit is contained in:
parent
55a166ac9e
commit
290029aeed
1 changed files with 1 additions and 5 deletions
|
@ -5,11 +5,7 @@ weight = 30
|
||||||
|
|
||||||
Two things can get paginated: a section or a taxonomy term.
|
Two things can get paginated: a section or a taxonomy term.
|
||||||
|
|
||||||
A paginated section gets the same `section` variable as a normal
|
Every paginated template gets a `paginator` variable of the `Pager` type:
|
||||||
[section page](./documentation/templates/pages-sections.md#section-variables) minus its pages
|
|
||||||
while
|
|
||||||
|
|
||||||
Both get a paginated page gets a `paginator` variable of the `Pager` type:
|
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
// How many items per page
|
// How many items per page
|
||||||
|
|
Loading…
Reference in a new issue