List page display problem

Hello everyone, I am a student in school and the structure of my hugo project is as follows

├── content
|   ├── genes
|   |   ├── _index.md
|   |   ├── Cucumis_sativus
|   |   |        ├── _index.md
|   |   |        ├── quote-01.md
|   |   |        └── quote-02.md
|   |   |                       
|   |   └── Solanum_lycopersicum
|   |            ├── _index.md
|   |            ├── quote-03.md
|   |            └── quote-04.md

Cucumis_sativus and Solanum_lycopersicum markdown files in the directory are all at /genes/cucumis_sativus/ and http://localhost:1313, respectively Quote - 04, md3 / genes/solanum_lycopersicum/url in the form of a list to open, but when I was in /genes/ display list page does not exist, I hope http://localhost:1313/genes/ is in the form of a list showing the containing all subfolders cucumis_sativus/and/solanum_lycopersicum/of all the quote - 01. Md, quote-02.md, quote-03.md and quote-04.md files

When posting code, configuration, or data on this forum, please wrap the text within backticks or use the </> button in the menu.

```
my code
```

I’ve cleaned up your topic.

1 Like

In the template that renders http://localhost:1313/genes/, I think you want to range through RegularPagesRecursive instead of ranging through Pages or RegularPages.

See this summary:
https://gohugo.io/quick-reference/page-collections/#page