I’m trying to build a Hugo Page out of multiple Markdown files in a page bundle. Using .Site.GetPage does what I needed but does not produced the correct Table Of Contents.
I’ve read through many threads in this community but I still can’t understand why this doesn’t work.
Steps to Reproduce:
Run Hugo serve in the git repo referenced in this post to produce the output below.
Why aren’t “Pin 1 Heading” and “Pin 2 Heading” included in the Table of Contents?
Thanks for your help?
Introduction
Pins
Pin 1 Heading
Pin 1 Content
Pin 2 Heading
Pin 2 Content