diff options
Diffstat (limited to 'themes/docsy/layouts/partials/toc.html')
-rw-r--r-- | themes/docsy/layouts/partials/toc.html | 8 |
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 0000000..f155f8b --- /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 |