From 3b183650921258b41381cf2f52e18271a4d300fb Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Fri, 26 Jan 2018 11:01:16 -0500 Subject: [PATCH] Revert the recent change made to default list template .. in https://github.com/gohugoio/hugoDocs/commit/0e57b6946cc4779b8309adfab6d172919f364d02 --- themes/gohugoioTheme/layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}