diff options
Diffstat (limited to 'layouts/partials/docs/menu-filetree.html')
-rw-r--r-- | layouts/partials/docs/menu-filetree.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html index b0f28c0..4f4cb0c 100644 --- a/layouts/partials/docs/menu-filetree.html +++ b/layouts/partials/docs/menu-filetree.html @@ -15,7 +15,7 @@ {{ end }} {{ else }} <ul> - {{ range $sections }} + {{ range where $sections "Params.bookhidden" "!=" true }} {{ template "book-section" (dict "Section" . "CurrentPage" $.Permalink) }} {{ end }} </ul> @@ -38,10 +38,10 @@ {{ define "book-section-children" }} {{ with .Section }} <ul> - {{ range .Sections }} + {{ range where .Sections "Params.bookhidden" "!=" true }} {{ template "book-section" (dict "Section" . "CurrentPage" $.CurrentPage) }} {{ end }} - {{ range .Pages }} + {{ range where .Pages "Params.bookhidden" "!=" true }} <li> {{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }} </li> |