Revert the recent change made to default list template

.. in
0e57b6946c
This commit is contained in:
Kaushal Modi 2018-01-26 11:01:16 -05:00 committed by Bjørn Erik Pedersen
parent 886ed0e109
commit 3b18365092
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F

View File

@ -1,4 +1,4 @@
{{ define "main" }} {{ 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 ) }} {{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }}
{{ end }} {{ end }}