Skip to content

Commit 1e00842

Browse files
jmooringbep
authored andcommittedApr 7, 2025·
tpl/tplimpl: Update embedded pagination template
1 parent 83cfdd7 commit 1e00842

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎tpl/tplimpl/embedded/templates/_partials/pagination.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{- if in $validFormats $format }}
2121
{{- if gt $page.Paginator.TotalPages 1 }}
2222
<ul class="pagination pagination-{{ $format }}">
23-
{{- partial (printf "inline/pagination/%s" $format) $page }}
23+
{{- partial (printf "inline/pagination/%s.html" $format) $page }}
2424
</ul>
2525
{{- end }}
2626
{{- else }}
@@ -29,7 +29,7 @@
2929

3030
{{/* Format: default
3131
{{/* --------------------------------------------------------------------- */}}
32-
{{- define "partials/inline/pagination/default" }}
32+
{{- define "_partials/inline/pagination/default.html" }}
3333
{{- with .Paginator }}
3434
{{- $currentPageNumber := .PageNumber }}
3535

@@ -100,7 +100,7 @@
100100

101101
{{/* Format: terse
102102
{{/* --------------------------------------------------------------------- */}}
103-
{{- define "partials/inline/pagination/terse" }}
103+
{{- define "_partials/inline/pagination/terse.html" }}
104104
{{- with .Paginator }}
105105
{{- $currentPageNumber := .PageNumber }}
106106

0 commit comments

Comments
 (0)
Please sign in to comment.