From 7297b7cf2b330d716f5855c9506296e983afd34f Mon Sep 17 00:00:00 2001 From: BernatBC Date: Fri, 19 Jan 2024 19:18:26 +0100 Subject: [PATCH] Fix --- layouts/_default/list.html | 2 +- layouts/categories/list.html | 2 +- layouts/tags/list.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 92cd9c4..9485de3 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -32,7 +32,7 @@
{{ $posts := where .RegularPagesRecursive "Layout" "!=" "search" }} - {{ $numShow = site.Params.features.pagination.maxPostsPerPage | default 12}} + {{ $numShow := site.Params.features.pagination.maxPostsPerPage | default 12}} {{ $paginator := .Paginate $posts $numShow }} {{ range $paginator.Pages }} {{ if .Layout }} diff --git a/layouts/categories/list.html b/layouts/categories/list.html index 96b315d..5a79b8f 100644 --- a/layouts/categories/list.html +++ b/layouts/categories/list.html @@ -33,7 +33,7 @@
{{ $posts := where .RegularPagesRecursive "Layout" "!=" "search" }} - {{ $numShow = site.Params.features.pagination.maxPostsPerPage | default 12}} + {{ $numShow := site.Params.features.pagination.maxPostsPerPage | default 12}} {{ $paginator := .Paginate $posts $numShow }} {{ range $paginator.Pages }} {{ if .Layout }} diff --git a/layouts/tags/list.html b/layouts/tags/list.html index 074a1e1..514a141 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -33,7 +33,7 @@
{{ $posts := where .RegularPagesRecursive "Layout" "!=" "search" }} - {{ $numShow = site.Params.features.pagination.maxPostsPerPage | default 12}} + {{ $numShow := site.Params.features.pagination.maxPostsPerPage | default 12}} {{ $paginator := .Paginate $posts $numShow }} {{ range $paginator.Pages }} {{ if .Layout }}