Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stratton <matt.stratton@gmail.com>2019-11-25 18:31:47 +0300
committerMatt Stratton <matt.stratton@gmail.com>2019-11-25 18:31:47 +0300
commit623f4e518bd967bab5c9c39e90a58786a3cffd19 (patch)
treef2848decb98c570ecdf099cbdee3d73f284ef693 /layouts
parent4a93137267345578418650260b032a921cb8b49b (diff)
Actually fix grid pagination
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/grid.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/grid.html b/layouts/partials/grid.html
index dac7bac..dde091f 100644
--- a/layouts/partials/grid.html
+++ b/layouts/partials/grid.html
@@ -85,7 +85,7 @@
{{ $cur := .PageNumber }}
{{- $url := trim (string $.URL) "/" | absURL -}}
{{ if in ($.Scratch.Get "show") $cur }}
- <li class = "{{ if eq . $pag }}active{{ end }} page-item"><a href="{{ $.URL }}" class="page-link hidden-md-down">{{ .PageNumber }}</a></li>
+ <li class = "{{ if eq . $pag }}active{{ end }} page-item"><a href="{{ .URL }}" class="page-link hidden-md-down">{{ .PageNumber }}</a></li>
{{ else if in (slice 2 (sub $total 1)) $cur }}
<li class="disabled page-item"><a name="" class="page-link hidden-md-down">&hellip;</a></li>
{{ end }}