From 7eb1fd5a440c3c4c35ad319222000b4b7677046b Mon Sep 17 00:00:00 2001 From: KemoNine Date: Wed, 7 Dec 2022 13:17:26 -0500 Subject: [PATCH] fix alphabitization of lists --- themes/gochowdown/layouts/partials/list.html | 2 +- themes/gochowdown/layouts/posts/list.html | 2 +- themes/gochowdown/layouts/taxonomy/list.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/gochowdown/layouts/partials/list.html b/themes/gochowdown/layouts/partials/list.html index b841c09..94b955a 100644 --- a/themes/gochowdown/layouts/partials/list.html +++ b/themes/gochowdown/layouts/partials/list.html @@ -7,7 +7,7 @@ {{- .Title -}} - {{ range .Paginator.Pages.ByTitle }} + {{ range (.Paginate .Pages.ByTitle).Pages }}
{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }} diff --git a/themes/gochowdown/layouts/posts/list.html b/themes/gochowdown/layouts/posts/list.html index 106f6b4..1dc03b4 100644 --- a/themes/gochowdown/layouts/posts/list.html +++ b/themes/gochowdown/layouts/posts/list.html @@ -4,7 +4,7 @@ {{ define "content" }}

{{ .Title }}

- {{ range $i, $page := .Paginator.Pages.ByTitle }} + {{ range $i, $page := (.Paginate .Pages.ByTitle).Pages }} {{ if $i }}
{{ end }}
diff --git a/themes/gochowdown/layouts/taxonomy/list.html b/themes/gochowdown/layouts/taxonomy/list.html index 03a49a5..279086d 100644 --- a/themes/gochowdown/layouts/taxonomy/list.html +++ b/themes/gochowdown/layouts/taxonomy/list.html @@ -8,7 +8,7 @@ {{- .Title -}} - {{ range .Paginator.Pages.ByTitle }} + {{ range (.Paginate .Pages.ByTitle).Pages }}