diff options
author | jesselau76 <jesselau76@gmail.com> | 2018-11-13 06:58:00 +0300 |
---|---|---|
committer | jesselau76 <jesselau76@gmail.com> | 2018-11-13 06:58:00 +0300 |
commit | cee148d91b30103bb7153490179b2c81dc380b53 (patch) | |
tree | ba18895898ab3f4c485e4c429f1bfcb85379c871 /layouts | |
parent | 7b98fe714c813650dd3bed900a2880f7585f0d1f (diff) |
example site tested
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index dd6e5eb..f149aa3 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,8 +3,7 @@ {{if not .IsHome }} <h1 class="w3-center">{{ .Title | markdownify }}</h1> {{ end }} -{{ $paginator := .Paginate (where .Pages "Type" "post") }} - +{{ $paginator := .Paginate (where .Data.Pages "Section" "!=" "") }} {{ if .Site.Params.gridstyle }} <!-- grid list style --> |