aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/pagination.html
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 03:56:47 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 03:56:47 +0300
commita9168e6f04f766f7d88bc1b24aaa81336098b2fc (patch)
treea4db599140020cfb14803aa4d28b17d52e637a72 /layouts/partials/pagination.html
parent3b040f1503d90a309f41063d8f760a3e312ab351 (diff)
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/partials/pagination.html')
-rw-r--r--layouts/partials/pagination.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html
index ee7a171..f30e72c 100644
--- a/layouts/partials/pagination.html
+++ b/layouts/partials/pagination.html
@@ -64,7 +64,7 @@
{{- range $k := seq $start $end }}
{{- if eq $.Paginator.PageNumber $k }}
<li class="page-item active">
- [{{ $k }}]
+ <a href="{{ (index $.Paginator.Pagers (sub $k 1)).URL }}" aria-label="Page {{ $k }}" class="page-link">{{ $k }}</a>
</li>
{{- else }}
<li class="page-item">