Hi,
I have a very simple shortcode with the following template:
toc.html
{{ .Page.TableOfContents }}
Which I then include in articles with:
{{< toc >}}
Before Hugo 0.60, this was working fine. With Hugo 0.60/61 it seems that the {{ .Page.TableOfContents }}
variable is completely empty when read from within the shortcode.
Is there a new way to print the table of contents in a shortcode, or is this a bug?
Thanks