I am struggling with an empty response when I call .Site.Sections. I call this in /layouts/index.html. My Sections are under the content dir (directory target_groups en working_methods).
When I save a file in one of my Sections, they ‘appear’ in the Sections list (when I run ‘hugo server’). When I just run ‘hugo server’ the .Sections (.Site.Sections) are empty. What am I doing wrong? These are folders under the content dir, so a Section… right? Adding an empty _index.md file in these folders helps when I am running Hugo, but not when I do a clean restart of Hugo. Feels like a bug, but this is so essential that I must be missing something.
Thank you in advance for your help!!!