Fix
This commit is contained in:
parent
73af341ef6
commit
7297b7cf2b
3 changed files with 3 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue