diff --git a/layouts/partials/grid.html b/layouts/partials/grid.html index e691a29..c5cbd55 100644 --- a/layouts/partials/grid.html +++ b/layouts/partials/grid.html @@ -106,7 +106,7 @@

{{ .Title }}

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