We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c2976 commit 6701eb0Copy full SHA for 6701eb0
layouts/partials/nav-list-hier.html
@@ -48,12 +48,14 @@
48
</a></li>
49
{{- end }}
50
51
-{{- range .this.Pages }}
+{{- if gt (len .this.Pages) 0 }}
52
<ul>
53
+ {{- range .this.Pages }}
54
{{- partial "nav-list-hier-pages.html" (dict
55
"currentPage" $.currentPage
56
"this" .
57
)}}
58
+ {{- end }}
59
</ul>
60
61
0 commit comments