diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1ce5dc1..d699ce7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,7 +7,13 @@

{{ i18n .Title }}

{{ $showFullContent := in .Site.Params.sectionsWithFullContentOnListPage .Section }} {{ $pages := where .Pages "Params.hidden" "!=" true}} - {{ range $pages }} + + {{ $pagesRange := $pages}} + {{ if $showFullContent }} + {{ $pagesRange = (.Paginate $pages).Pages }} + {{ end}} + + {{ range $pagesRange }}
@@ -21,6 +27,9 @@ {{ partial "post-info.html" . }}
{{ end }} + {{ if $showFullContent }} + {{ partial "pagination.html" . }} + {{ end}}
{{ end }} \ No newline at end of file