mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 07:48:52 +00:00
Revert the recent change made to default list template
.. in https://github.com/gohugoio/hugoDocs/commit/0e57b6946cc4779b8309adfab6d172919f364d02
This commit is contained in:
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 }}
|
||||
|
||||
Reference in New Issue
Block a user