Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BernatBC committed Jan 19, 2024
1 parent 73af341 commit 7297b7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="content container-fluid" id="content">
<div class="container-fluid post-card-holder" id="post-card-holder">
{{ $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 }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/categories/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="content container-fluid" id="content">
<div class="container-fluid post-card-holder" id="post-card-holder">
{{ $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 }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/tags/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="content container-fluid" id="content">
<div class="container-fluid post-card-holder" id="post-card-holder">
{{ $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 }}
Expand Down

0 comments on commit 7297b7c

Please sign in to comment.