aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/docs/header.html')
-rw-r--r--layouts/partials/docs/header.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/docs/header.html b/layouts/partials/docs/header.html
index 23834df..089859c 100644
--- a/layouts/partials/docs/header.html
+++ b/layouts/partials/docs/header.html
@@ -6,6 +6,8 @@
<strong>{{ partial "docs/title" . }}</strong>
<label for="toc-control">
+ {{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
<img src="{{ "svg/toc.svg" | relURL }}" class="book-icon" alt="Table of Contents" />
+ {{ end }}
</label>
</div>