diff --git a/layouts/partials/sidebar/docs-toc.html b/layouts/partials/sidebar/docs-toc.html index 3ab5ab7..a0de898 100644 --- a/layouts/partials/sidebar/docs-toc.html +++ b/layouts/partials/sidebar/docs-toc.html @@ -1,6 +1,6 @@ -{{ if ne .Params.toc false -}} +{{ if and (ne .Params.toc false) (ne .TableOfContents "") -}} -{{ end -}} \ No newline at end of file +{{ end -}}