fix alphabitization of lists

This commit is contained in:
KemoNine 2022-12-07 13:17:26 -05:00
parent 65dd7da665
commit 7eb1fd5a44
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
{{- .Title -}}
</h1>
{{ range .Paginator.Pages.ByTitle }}
{{ range (.Paginate .Pages.ByTitle).Pages }}
<div class="pure-g">
<div class="pure-u-1-3">
{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}

View file

@ -4,7 +4,7 @@
{{ define "content" }}
<section class="container list">
<h1 class="title">{{ .Title }}</h1>
{{ range $i, $page := .Paginator.Pages.ByTitle }}
{{ range $i, $page := (.Paginate .Pages.ByTitle).Pages }}
{{ if $i }}<hr/> {{ end }}
<div class="pure-g flex-center">
<div class="pure-u-1 pure-u-sm-2-3">

View file

@ -8,7 +8,7 @@
{{- .Title -}}
</h1>
{{ range .Paginator.Pages.ByTitle }}
{{ range (.Paginate .Pages.ByTitle).Pages }}
<div class="pure-g">
<div class="pure-u-1">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>