diff options
author | Thedro Neely <thedroneely@gmail.com> | 2021-03-12 23:08:40 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2021-03-12 23:08:40 -0500 |
commit | 302372a9f2315b67572f53e3998cde253a3335e9 (patch) | |
tree | deb148808337a62239c54a72fd237f59c85a1287 | |
parent | 7bf900b84c38f125d96a3aa63f8f3709b48c67a2 (diff) | |
download | thedroneely.com-302372a9f2315b67572f53e3998cde253a3335e9.tar.gz thedroneely.com-302372a9f2315b67572f53e3998cde253a3335e9.tar.bz2 thedroneely.com-302372a9f2315b67572f53e3998cde253a3335e9.zip |
generators/hugo/layouts/partials/pagination: Remove subtraction hack
This was used previously to hide archive pages.
-rw-r--r-- | generators/hugo/themes/tdro/layouts/partials/pagination.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/pagination.html b/generators/hugo/themes/tdro/layouts/partials/pagination.html index 37000de..698ac6a 100644 --- a/generators/hugo/themes/tdro/layouts/partials/pagination.html +++ b/generators/hugo/themes/tdro/layouts/partials/pagination.html @@ -1,5 +1,5 @@ {{ $HugoPaginator := $.Paginator }} -{{ $Pages := sub $HugoPaginator.TotalNumberOfElements 1 }} +{{ $Pages := $HugoPaginator.TotalNumberOfElements }} {{ $MyPaginator := math.Ceil (div (float $Pages) 3) }} {{ if gt $HugoPaginator.TotalPages 1 }} |