diff options
author | tdro <tdro@noreply.example.com> | 2023-06-18 18:32:33 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-06-18 18:32:33 -0400 |
commit | 93c4424fdd5bd9c9c921e90141be786d43bde491 (patch) | |
tree | fc7b34eca92b507925092fe0a1dc13d1c0e46a53 /themes/default/layouts/partials | |
parent | bc68ffb4294b80f9825d830b6c7fe857fe3589e5 (diff) | |
download | canory-93c4424fdd5bd9c9c921e90141be786d43bde491.tar.gz canory-93c4424fdd5bd9c9c921e90141be786d43bde491.tar.bz2 canory-93c4424fdd5bd9c9c921e90141be786d43bde491.zip |
themes/default/layouts/partials/pagination: Handle total pages under 1
Diffstat (limited to 'themes/default/layouts/partials')
-rw-r--r-- | themes/default/layouts/partials/pagination.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/pagination.html b/themes/default/layouts/partials/pagination.html index d633b92..8aec5b4 100644 --- a/themes/default/layouts/partials/pagination.html +++ b/themes/default/layouts/partials/pagination.html @@ -30,7 +30,7 @@ {{- $lastTitle = "Oldest" -}} {{- end -}} - <paginator-navigation{{ if eq .TotalPages 1 }} hidden {{ end }}> + <paginator-navigation{{ if le .TotalPages 1 }} hidden="" {{ end }}> <a href="{{ $firstHref }}" title="{{ $firstTitle }}" > <header>{{ $firstTitle }}</header> </a> |