diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-27 16:48:23 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-27 16:48:23 +0200 |
commit | e452a7bedabdfe0c0d62aa4e948902d6632a889d (patch) | |
tree | ea638449f93fb820ce3c3df0c6a3ee780edf7d61 /layouts/partials/docs/menu-filetree.html | |
parent | 6d64cc708e73c38f23bfc5929608d5d77a9c5a07 (diff) |
#52, Allow to set max showed levels of ToC. e.g. BookToC=3
Diffstat (limited to 'layouts/partials/docs/menu-filetree.html')
-rw-r--r-- | layouts/partials/docs/menu-filetree.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html index 4f4cb0c..9ed63ea 100644 --- a/layouts/partials/docs/menu-filetree.html +++ b/layouts/partials/docs/menu-filetree.html @@ -23,7 +23,7 @@ {{ define "book-section" }} {{ with .Section }} - <li {{ if .Params.bookFlatSection}} class="book-section-flat" {{ end }}> + <li {{ if .Params.BookFlatSection}} class="book-section-flat" {{ end }}> {{ if .Content }} {{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }} {{ else }} |