Should transparant sections pass their subsections?

A real-life use case would be this one:
Imagine a user who prefers storing their posts organized by date. (e.g. content/2023/01/...).
In addition, they write an ongoing series of posts named learn_rust

content/
└─2023/          transparent=true
  └─01/          transparent=true
    ├─post1.md
    └─learn_rust/
      ├─day1.md
      └─day2.md

I would expect the end result to look like:

content/
├─post1.md
└─learn_rust/
  ├─day1.md
  └─day2.md

While currently only the posts “bubble up”:

content/
├─post1.md
└─2023/
  └─01/
    ├─post1.md
    └─learn_rust/
      ├─day1.md
      └─day2.md

To me, it seems more like a bug, tbh.
Here’s a toy project to test this.

1 Like