From ba5d38ad4427bcda21a4cc57689464ed58d8b9a0 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 24 Jan 2020 00:07:47 +0100 Subject: Rework of main template, adds options for more fine customisation --- layouts/partials/docs/toc.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'layouts/partials/docs/toc.html') diff --git a/layouts/partials/docs/toc.html b/layouts/partials/docs/toc.html index 79bfc0a..64546ec 100644 --- a/layouts/partials/docs/toc.html +++ b/layouts/partials/docs/toc.html @@ -1,10 +1 @@ -{{ $tocLevels := default (default 6 .Site.Params.BookToC) .Params.BookToC }} -{{ if and $tocLevels .Page.TableOfContents }} - -{{ end }} +{{ .TableOfContents }} -- cgit v1.2.3