From 127100585b9b14a8e25669838ca78e4042b7d7ef Mon Sep 17 00:00:00 2001 From: KemoNine Date: Wed, 7 Dec 2022 09:10:57 -0500 Subject: [PATCH] first attempt at alphabetized lists - buggy but easier to read --- 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 144f447..b841c09 100644 --- a/themes/gochowdown/layouts/partials/list.html +++ b/themes/gochowdown/layouts/partials/list.html @@ -7,7 +7,7 @@ {{- .Title -}} - {{ range .Paginator.Pages }} + {{ range .Paginator.Pages.ByTitle }}
{{ .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 0f79cd9..106f6b4 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 }} + {{ range $i, $page := .Paginator.Pages.ByTitle }} {{ if $i }}
{{ end }}
diff --git a/themes/gochowdown/layouts/taxonomy/list.html b/themes/gochowdown/layouts/taxonomy/list.html index 9603ffc..03a49a5 100644 --- a/themes/gochowdown/layouts/taxonomy/list.html +++ b/themes/gochowdown/layouts/taxonomy/list.html @@ -8,7 +8,7 @@ {{- .Title -}} - {{ range .Paginator.Pages }} + {{ range .Paginator.Pages.ByTitle }}