Hi,
I don’t know how to do that, but that’s something I’m also interested in. I’ve seen a working implementation of it in the hugo-learn theme, so the code to do that is probably in their repo somewhere: https://github.com/matcornic/hugo-theme-learn
@fekete-robert: Maybe your are interested in how I found the relevant code. I inspected the live demo of the theme with the Firefox Web Console (there are similar tools for other browsers) to find the ID of the navigation (which is actually “navigation”). Then I searched in the theme’s GitHub repo for “navigation”.
I found another error in my file tree which at first looked like this
In the docs it says: The important part to understand is, that to make the section tree fully navigational, at least the lower-most section needs a content file. (e.g. _index.md ).