aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html6
-rw-r--r--layouts/partials/docs/inject/toc-after.html0
-rw-r--r--layouts/partials/docs/inject/toc-before.html0
3 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>
diff --git a/layouts/partials/docs/inject/toc-after.html b/layouts/partials/docs/inject/toc-after.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/partials/docs/inject/toc-after.html
diff --git a/layouts/partials/docs/inject/toc-before.html b/layouts/partials/docs/inject/toc-before.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/partials/docs/inject/toc-before.html