Revert the recent change made to default list template

.. in
https://github.com/gohugoio/hugoDocs/commit/0e57b6946cc4779b8309adfab6d172919f364d02
This commit is contained in:
Kaushal Modi authored and Bjørn Erik Pedersen committed 2018-01-31 10:19:32 +01:00
1 parent 886ed0e109
commit 3b18365092
1 file changed
+1 -1
@@ -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 }}