The .TableOfContents
is derived from the rendered markdown (defined below the front matter) in your content file, and you cannot broaden its scope.
See https://discourse.gohugo.io/t/how-to-add-to-content-before-rendering/39781/4.
The .TableOfContents
is derived from the rendered markdown (defined below the front matter) in your content file, and you cannot broaden its scope.
See https://discourse.gohugo.io/t/how-to-add-to-content-before-rendering/39781/4.