summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/layouts/partials/toc.html
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
committerIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
commit22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch)
tree110ec3a84a72560244ee4476852295b86a737eb0 /themes/docsy/layouts/partials/toc.html
Initial commit
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