diff --git a/themes/gohugoioTheme/layouts/_default/list.html b/themes/gohugoioTheme/layouts/_default/list.html index e6058bb28..a0835342a 100755 --- a/themes/gohugoioTheme/layouts/_default/list.html +++ b/themes/gohugoioTheme/layouts/_default/list.html @@ -1,4 +1,4 @@ {{ define "main" }} - {{ $section_to_display := .Sections | union .Paginator.Pages }} + {{ $section_to_display := .Sections | default .Paginator.Pages }} {{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }} {{ end }}