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:
Diffstat (limited to 'layouts/partials')
-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 4292429..dac7bac 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="{{ $.Permalink }}" 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 }}