# List subsections pages and titles in list.html

**URL:** https://discourse.gohugo.io/t/list-subsections-pages-and-titles-in-list-html/12382
**Category:** support
**Created:** [June 12, 2018, 11:55am UTC](https://discourse.gohugo.io/t/list-subsections-pages-and-titles-in-list-html/12382 "2018-06-12T11:55:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![two\_pizza](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@two\_pizza](https://discourse.gohugo.io/u/two_pizza)
#### Post date: [June 12, 2018, 11:55am UTC](https://discourse.gohugo.io/t/list-subsections-pages-and-titles-in-list-html/12382/1 "2018-06-12T11:55:34Z")

</div>

Sorry, I saw similar posts for this theme, but did not found solution.  
I have following structure  
content:  
-dir0  
–dir1  
—post1  
—post2  
–dir2  
—post3  
—post4

How to list subcategories with titles in list.html, to show following on dir0 page?

Dir1  
Post1  
Post2  
Dir2  
Post3  
Post4

---

<div class="post-metadata">

### Author: ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)
#### Post date: [June 12, 2018, 5:10pm UTC](https://discourse.gohugo.io/t/list-subsections-pages-and-titles-in-list-html/12382/2 "2018-06-12T17:10:09Z")

</div>

You need to include an `_index.md` in your Nested Sections.

Here is how I am rendering Nested Section content. [List pages of sub-sub-folders](https://discourse.gohugo.io/t/list-pages-of-sub-sub-folders/9436/11?u=onedrawingperday)

Also check out the [Docs](https://gohugo.io/content-management/sections/#nested-sections)
