cryogen-project / cryogen-project/cryogen
[feature] pagination for posts summary
Open
likely invalid
- Dominant language
- HTML
- Stars
- 1.1k
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
Currently there is a way to do `prev` / `next` but not `0`, `1`, `2`, `...`
```html
```
I would like to add numbers between `prev` and `next` like in the example below.

To make it possible we need to add data to Selmer with page index, URL, is page active.
Here is a Hugo example:
```html
{{ if gt $paginator.TotalPages 1 }}
-
«
- {{ .PageNumber }}
-
»
{{ range .Paginator.Pagers }}
{{ end }}
{{ end }}
```
This is the part which Cryogen doesn't have:
```html
{{ range .Paginator.Pagers }}
{{ end }}
```
So we need something in that taste.
Contributor guide
Assessment
This issue has not been assessed yet.