diff --git a/layouts/shortcodes/toc-tree.html b/layouts/shortcodes/toc-tree.html new file mode 100644 index 0000000..7fe4620 --- /dev/null +++ b/layouts/shortcodes/toc-tree.html @@ -0,0 +1,35 @@ +{{ $tocLevels := default (default 6 .Site.Params.GeekdocToC) .Page.Params.GeekdocToC }} + +{{ if $tocLevels }} +
+ {{ template "toc-tree" dict "sect" .Page.Pages }} +
+{{ end }} + + +{{ define "toc-tree" }} + +{{ end }}