We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85fbe76 commit 3692cb8Copy full SHA for 3692cb8
layouts/partials/section-index.html
@@ -4,7 +4,7 @@
4
{{ $pages = (where $pages "Type" "!=" "search") }}
5
{{ $pages = (where $pages ".Params.hide_summary" "!=" true) -}}
6
{{ $pages = (where $pages ".Parent" "!=" nil) -}}
7
- {{ if .Parent.File -}}
+ {{ if and .Parent .Parent.File -}}
8
{{ $pages = (where $pages "Parent.File.UniqueID" "==" $parent.File.UniqueID) -}}
9
{{ end -}}
10
{{ if or $parent.Params.no_list (eq (len $pages) 0) -}}
0 commit comments