tpl/tplimpl: Update embedded pagination template - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 1e00842489b05ae49bb3c8af8b4795f68b3be979
DIR parent 83cfdd78ca6469e6d7265323d9fad1448880e559
HTML Author: Joe Mooring <joe.mooring@veriphor.com>
Date: Thu, 3 Apr 2025 10:16:04 -0700
tpl/tplimpl: Update embedded pagination template
Diffstat:
M tpl/tplimpl/embedded/templates/_pa… | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git 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 }}