summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 3b0164c..e7ff71e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -36,7 +36,11 @@
{{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
<aside class="book-toc">
- {{ template "toc" . }} <!-- Table of Contents -->
+ <nav>
+ {{ partial "docs/inject/toc-before" . }}
+ {{ template "toc" . }} <!-- Table of Contents -->
+ {{ partial "docs/inject/toc-after" . }}
+ </nav>
</aside>
{{ end }}
</main>