diff options
Diffstat (limited to 'layouts/partials/docs/toc.html')
-rw-r--r-- | layouts/partials/docs/toc.html | 11 |
1 files changed, 1 insertions, 10 deletions
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 }} - <aside class="book-toc levels-{{$tocLevels}} fixed"> - {{ with .Page.TableOfContents }} - <label id="toc-control" for="toc-control"> - {{ . }} - </label> - {{ end }} - </aside> -{{ end }} +{{ .TableOfContents }} |