Rename page.html to list-item.html

This commit is contained in:
Will Faught
2024-07-12 13:29:12 -07:00
parent e2f388e4b5
commit 650dfc531e
2 changed files with 5 additions and 5 deletions

View File

@@ -81,13 +81,13 @@
{{ if or $sections $pages }}
{{ range $ordered }}
{{ partial "paige/page.html" . }}
{{ partial "paige/list-item.html" . }}
{{ end }}
{{ else }}
{{ $pager := $page.Paginate $ordered }}
{{ range $pager.Pages }}
{{ partial "paige/page.html" . }}
{{ partial "paige/list-item.html" . }}
{{ end }}
{{ template "pagination" (dict "page" $page "pager" $pager) }}
@@ -121,13 +121,13 @@
{{ if $pages }}
{{ range $ordered }}
{{ partial "paige/page.html" . }}
{{ partial "paige/list-item.html" . }}
{{ end }}
{{ else }}
{{ $pager := $page.Paginate $ordered }}
{{ range $pager.Pages }}
{{ partial "paige/page.html" . }}
{{ partial "paige/list-item.html" . }}
{{ end }}
{{ template "pagination" (dict "page" $page "pager" $pager) }}
@@ -162,7 +162,7 @@
{{ $pager := $page.Paginate $ordered }}
{{ range $pager.Pages }}
{{ partial "paige/page.html" . }}
{{ partial "paige/list-item.html" . }}
{{ end }}
{{ template "pagination" (dict "page" $page "pager" $pager) }}