diff options
author | max.mehl <max.mehl@fsfe.org> | 2020-10-09 20:31:15 +0300 |
---|---|---|
committer | Max Mehl <mail@mehl.mx> | 2020-10-29 19:56:21 +0300 |
commit | 49dd1336941c6075839cad47437a1e733ac36c06 (patch) | |
tree | 762dc9195bf609758d210850cc079836ca7e040f | |
parent | e24303521317fe1227ffe8000f3fb07a6571f64c (diff) |
no pager on pages
-rw-r--r-- | layouts/partials/pager.html | 4 |
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 }} |