We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abe0e9 commit b5e96c0Copy full SHA for b5e96c0
layouts/partials/book-menu-filetree.html
@@ -10,6 +10,10 @@
10
{{ else if and (gt (len $dirs) 3) (eq (index $dirs 1) "posts" ) }}
11
{{ $dir = (index $dirs 2) }}
12
{{ end }}
13
+{{ with .Site.GetPage $bookSection $dir }}
14
+ {{ template "book-section-children" (dict "Section" . "CurrentPage" $) }}
15
+{{ end }}
16
+
17
{{ define "book-section-children" }}{{/* (dict "Section" .Section "CurrentPage" .CurrentPage) */}}
18
<ul>
19
{{ range (where .Section.Pages "Params.bookhidden" "ne" true) }}
0 commit comments