mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-05 04:40:40 +00:00
378 B
378 B
The toc-tree shortcode will generate a Table of Content from a section filetree of your content directory. The root of the resulting ToC will be the page on which you define the shortcode.
{{</* toc-tree */>}}
Example
As said, the root will be the site on which the shortcode was used, you can see a demo including nesting in the ToC Tree section.