From 623f4e518bd967bab5c9c39e90a58786a3cffd19 Mon Sep 17 00:00:00 2001 From: Matt Stratton Date: Mon, 25 Nov 2019 09:31:47 -0600 Subject: [PATCH] Actually fix grid pagination --- layouts/partials/grid.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/grid.html b/layouts/partials/grid.html index dac7bac6..dde091f0 100644 --- a/layouts/partials/grid.html +++ b/layouts/partials/grid.html @@ -85,7 +85,7 @@

All Episodes

{{ $cur := .PageNumber }} {{- $url := trim (string $.URL) "/" | absURL -}} {{ if in ($.Scratch.Get "show") $cur }} -
  • {{ .PageNumber }}
  • +
  • {{ .PageNumber }}
  • {{ else if in (slice 2 (sub $total 1)) $cur }}
  • {{ end }}