diff options
Diffstat (limited to '')
| -rw-r--r-- | themes/hugo-book/layouts/_partials/docs/header.html (renamed from themes/hugo-book/layouts/partials/docs/header.html) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/hugo-book/layouts/partials/docs/header.html b/themes/hugo-book/layouts/_partials/docs/header.html index 646b8ff..ad5582e 100644 --- a/themes/hugo-book/layouts/partials/docs/header.html +++ b/themes/hugo-book/layouts/_partials/docs/header.html @@ -6,7 +6,7 @@ <h3>{{ partial "docs/title" . }}</h3> <label for="toc-control"> - {{ if default true (default .Site.Params.BookToC .Params.BookToC) }} + {{ if partial "docs/toc-show" . }} <img src="{{ "svg/toc.svg" | relURL }}" class="book-icon" alt="Table of Contents" /> {{ end }} </label> |
