]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
tpl/tplimpl: Update embedded pagination template
authorJoe Mooring <joe.mooring@veriphor.com>
Thu, 3 Apr 2025 17:16:04 +0000 (10:16 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 7 Apr 2025 19:29:53 +0000 (21:29 +0200)
tpl/tplimpl/embedded/templates/_partials/pagination.html

index 9f82447023cbb224cceb1857610ff411b533eac6..995ac568095af7bc14a31291e33c73a76f97676a 100644 (file)
@@ -20,7 +20,7 @@
 {{- if in $validFormats $format }}
   {{- if gt $page.Paginator.TotalPages 1 }}
     <ul class="pagination pagination-{{ $format }}">
-      {{- partial (printf "inline/pagination/%s" $format) $page }}
+      {{- partial (printf "inline/pagination/%s.html" $format) $page }}
     </ul>
   {{- end }}
 {{- else }}
@@ -29,7 +29,7 @@
 
 {{/* Format: default
 {{/* --------------------------------------------------------------------- */}}
-{{- define "partials/inline/pagination/default" }}
+{{- define "_partials/inline/pagination/default.html" }}
   {{- with .Paginator }}
     {{- $currentPageNumber := .PageNumber }}
 
 
 {{/* Format: terse
 {{/* --------------------------------------------------------------------- */}}
-{{- define "partials/inline/pagination/terse" }}
+{{- define "_partials/inline/pagination/terse.html" }}
   {{- with .Paginator }}
     {{- $currentPageNumber := .PageNumber }}