Revert the recent change made to default list template

.. in
https://github.com/gohugoio/hugoDocs/commit/0e57b6946cc4779b8309adfab6d172919f364d02
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
@@ -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 }}