summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/layouts/partials/toc.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/docsy/layouts/partials/toc.html')
-rw-r--r--themes/docsy/layouts/partials/toc.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/docsy/layouts/partials/toc.html b/themes/docsy/layouts/partials/toc.html
new file mode 100644
index 000000000..f155f8b13
--- /dev/null
+++ b/themes/docsy/layouts/partials/toc.html
@@ -0,0 +1,8 @@
+{{ partial "page-meta-links.html" . }}
+{{ if not .Params.notoc }}
+{{ with .TableOfContents }}
+{{ if ge (len .) 200 }}
+{{ . }}
+{{ end }}
+{{ end }}
+{{ end }} \ No newline at end of file