first attempt at alphabetized lists - buggy but easier to read

This commit is contained in:
KemoNine 2022-12-07 09:10:57 -05:00
parent 404b771d8d
commit 127100585b
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
{{- .Title -}}
</h1>
{{ range .Paginator.Pages }}
{{ range .Paginator.Pages.ByTitle }}
<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 }}
{{ range $i, $page := .Paginator.Pages.ByTitle }}
{{ 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 }}
{{ range .Paginator.Pages.ByTitle }}
<div class="pure-g">
<div class="pure-u-1">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>