mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 19:04:39 -04:00
Revert the recent change made to default list template
.. in
0e57b6946c
This commit is contained in:
parent
886ed0e109
commit
3b18365092
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user