Please excuse me if this has been answered before, but I just haven’t been able to find an answer. It seems like a very simple question, but well, let’s see.
I’m trying to have a site where my posts can have sub-pages that can be linked to from the posts, but aren’t considered posts, themselves.
Based on my readings so far, and given my understanding of leaf bundles and branch bundles, it is not a straightforward matter to arrange things so that all these are valid URLs showing normal web content (ie none are listings):
- mysite/posts/my-first-post/
- mysite/posts/my-second-post/
- mysite/posts/my-second-post/some-details/
I want #1 and #2 to be classified as “posts”, and I want #3 to be a “post subpage” (preferably without explicit typing in matter, but I’ll accept that if it’s the best way). How is this done?
The first one is straightforward, of course. It is generated from content/posts/my-first-post. But then, how do I (preferably automatically) classify some-details as something other than a post? I want it to be processed, but I don’t want it showing up in the list of posts. After that’s working, I still need to know how to generate the output for the main my-second-post page and have it shown in listings of posts.
I’m really hoping that I’ve misunderstood something, or that this needn’t be solved by lots of trickery and overriding of implicit typing. But even if the solution does require jumping through hoops, your advice will be appreciated!!