diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2025-04-03 10:16:04 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2025-04-07 21:29:53 +0200 |
commit | 1e00842489b05ae49bb3c8af8b4795f68b3be979 (patch) | |
tree | bc0551a559380841101ddc59b3ed842d6548531c | |
parent | 83cfdd78ca6469e6d7265323d9fad1448880e559 (diff) | |
download | hugo-1e00842489b05ae49bb3c8af8b4795f68b3be979.tar.gz hugo-1e00842489b05ae49bb3c8af8b4795f68b3be979.zip |
tpl/tplimpl: Update embedded pagination template
-rw-r--r-- | tpl/tplimpl/embedded/templates/_partials/pagination.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/tplimpl/embedded/templates/_partials/pagination.html b/tpl/tplimpl/embedded/templates/_partials/pagination.html index 9f8244702..995ac5680 100644 --- a/tpl/tplimpl/embedded/templates/_partials/pagination.html +++ b/tpl/tplimpl/embedded/templates/_partials/pagination.html @@ -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 }} @@ -100,7 +100,7 @@ {{/* Format: terse {{/* --------------------------------------------------------------------- */}} -{{- define "partials/inline/pagination/terse" }} +{{- define "_partials/inline/pagination/terse.html" }} {{- with .Paginator }} {{- $currentPageNumber := .PageNumber }} |