🐛 Fix last pagination link displayed twice

This commit is contained in:
James Panther
2022-11-14 13:23:44 +11:00
parent 6a904413a8
commit 7970511402
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -59,7 +59,7 @@
{{- end }}
{{- with .Last }}
{{- if lt $currentPageNumber (sub .TotalPages $width) }}
{{- if and (lt $currentPageNumber (sub .TotalPages $width)) (lt $end .TotalPages) }}
{{- if lt $currentPageNumber (sub .TotalPages (add $width 1)) }}
<li>&ctdot;</li>
{{- end }}