List template for given path

Here is example from docs

“post” is a section. “post/happy” is a path. Which template serves url? I want to list all posts under same path (ness.html and less.html)

Check the template lookup order, specifically single page templates.

There are not currently nested sections, so in your example post is the section, and happy, ness and less are all content in the post section.

If you want to list content you’ve placed inside the happy directory at /post/happy/ you are going to need to mess around with a shortcode or similar. Search these forums for nested sections and read up on how other folks have rendered that. :slight_smile:

1 Like