From e452a7bedabdfe0c0d62aa4e948902d6632a889d Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 27 May 2019 16:48:23 +0200 Subject: #52, Allow to set max showed levels of ToC. e.g. BookToC=3 --- layouts/partials/docs/menu-filetree.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/docs/menu-filetree.html') 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 }} -
  • +
  • {{ if .Content }} {{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }} {{ else }} -- cgit v1.2.3