An effective table of contents

Hey guys,

I would like to get an automatic list of all the files inside sub sub folders… What I mean:

[[menu.main]]
url = “/topics/”
name = “Topics”
weight = 2

content/topics contains these -> flutter (a folder), machine learning (a folder) & _index.md

Inside flutter I have whyflutter.md

Now is it possible to automatically show the files in the sub sub folders (like whyflutter.md) in the Topics section?

Right now just the md files are automatically listed, not the corresponding subsection (or subfolder).

Just like this:

Theme: Minimal

Minimal List page:

<main>
    <h2>{{ .Title }}</h2>
    {{.Content}} 
    {{ range (.Paginator 5).Pages }} {{ partial "list-item" . }} {{ end }}

</main>