🐛 Fix list page doesn't render nested list pages

Fixes #365
pull/368/head
James Panther 2022-11-14 13:22:15 +11:00
parent f0b86e6c27
commit 6a904413a8
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
3 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Fixed ### Fixed
- List page doesn't render nested list pages ([#365](https://github.com/jpanther/congo/issues/365))
- Pagination is duplicated on term pages ([#366](https://github.com/jpanther/congo/issues/366)) - Pagination is duplicated on term pages ([#366](https://github.com/jpanther/congo/issues/366))
## [2.4.0] - 2022-11-10 ## [2.4.0] - 2022-11-10

View File

@ -37,7 +37,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ else }} {{ else }}
{{ range .Paginator.Pages }} {{ range (.Paginate .Pages).Pages }}
{{ partial "article-link.html" . }} {{ partial "article-link.html" . }}
{{ end }} {{ end }}
{{ end }} {{ end }}

View File

@ -26,7 +26,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ else }} {{ else }}
{{ range .Paginator.Pages }} {{ range (.Paginate .Pages).Pages }}
{{ partial "article-link.html" . }} {{ partial "article-link.html" . }}
{{ end }} {{ end }}
{{ end }} {{ end }}