mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 14:16:29 +00:00
Revert the recent change made to default list template
.. in https://github.com/gohugoio/hugoDocs/commit/0e57b6946cc4779b8309adfab6d172919f364d02
This commit is contained in:
1 parent
886ed0e109
commit
3b18365092
1 file changed
+1
-1
@@ -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 }}
|
||||||
Reference in new issue
Block a user