Skip to content

Feature request: sections show *all* child pages #55

Description

@davidyoung604

Idea

When using sections I want to be able to see descendant pages (i.e. children, regardless of how many layers deep in the folder structure) not just those directly in the selected section.

Example

For posts in nested folder structures (e.g. /2026/01/01/new-year-new-me/) accessing /2026/01/ would show "New year, new me" and "January's month-end review".

Current behaviour

  • If a folder is not configured as a section, it will show the 404 page.
  • If a folder is configured as a section, it will apparently only show the direct child entries, or the single most recent if it's one layer down (and not a section - yes, I realize this sounds odd. Feel free to confirm the behaviour)
    • If /2026/01/31/ does not have _index.md, /2026/01/ will show "January's month-end review", but not "New year, new me", whereas /2026/ will show "0 posts".
    • But if /2026/01/31/ *does* have _index.md, /2026/will show "0 posts", as will/2026/01/`.

State on my side

I have a half-baked POC for this that I haven't pushed to my repo yet, as I realized I haven't verified it with multiple pages of results. I have a feeling it's going to need some rework to get it into a shareable state.

Other note

In playing around with this, I realized that the title isn't fully formed when viewing the sections. It's just | My Site Title with nothing before the |. Should this be "Posts"? Or "Posts in /2026/01"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions