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

github.com/pfadfinder-konstanz/hugo-dpsg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormax.mehl <max.mehl@fsfe.org>2020-10-09 20:31:15 +0300
committerMax Mehl <mail@mehl.mx>2020-10-29 19:56:21 +0300
commit49dd1336941c6075839cad47437a1e733ac36c06 (patch)
tree762dc9195bf609758d210850cc079836ca7e040f
parente24303521317fe1227ffe8000f3fb07a6571f64c (diff)
no pager on pages
-rw-r--r--layouts/partials/pager.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/pager.html b/layouts/partials/pager.html
index 9f76c59..bed176a 100644
--- a/layouts/partials/pager.html
+++ b/layouts/partials/pager.html
@@ -1,4 +1,4 @@
-{{- if .Param "pager" }}
+{{- if and (.Param "pager") (not (.Param "page")) }}
{{- if or (.PrevInSection) (.NextInSection) }}
<nav class="pager flex">
{{- if .PrevInSection }}
@@ -19,4 +19,4 @@
{{- end }}
</nav>
{{- end }}
-{{- end }} \ No newline at end of file
+{{- end }}