diff options
Diffstat (limited to '')
| -rw-r--r-- | themes/hugo-book/layouts/_partials/docs/toc-show.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/hugo-book/layouts/_partials/docs/toc-show.html b/themes/hugo-book/layouts/_partials/docs/toc-show.html new file mode 100644 index 0000000..5115c84 --- /dev/null +++ b/themes/hugo-book/layouts/_partials/docs/toc-show.html @@ -0,0 +1,4 @@ +{{ return default + (not (eq .TableOfContents "<nav id=\"TableOfContents\"></nav>")) + (default .Site.Params.BookToC .Params.BookToC) +}}
\ No newline at end of file |
