diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5d503e574..56a3fc420 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -24,7 +24,7 @@

{{ . {{ .Content | emojify }} - {{ if gt .Pages 0 }} + {{ if .Data.Pages }}
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }} {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}