diff --git a/layouts/shortcodes/toctree.html b/layouts/shortcodes/toctree.html index fa10fec9..1de79167 100644 --- a/layouts/shortcodes/toctree.html +++ b/layouts/shortcodes/toctree.html @@ -1,3 +1,13 @@ +{{/* + +options: {"render": False} + +doc: Shows a table-of-contents tree for the Hugo [`Sections`](https://gohugo.io/methods/page/sections/) in the current hierarchy. In this documentaion, an example of the `toctree` is seen on the [Examples]({{% relref "examples" %}}) page. + +{{< toctree >}} + +*/}} +
{{- range $section := .Page.Sections }}