Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Post dates in URLs / "transparent sections" #408
I'm trying to migrate my site over from Pelican right now.
I've managed to get most of the way there by reorganizing my
Unfortunately, I think I've hit a roadblock—pagination doesn't seem like it'll work on the posts if I have nested sections, since none of the posts are direct children of posts.
The most flexible solution to my problem would be to be able to request that the year and month sections are "transparent" or "transitive" or something, so that every page in
It might also be nice to have some easier support for nested sections like this that doesn't require having an
referenced this issue
Sep 9, 2018
referenced this issue
Sep 18, 2018
I'm also interested in this feature. My main interest is that I have a lot of blog posts and I just won't want to store them in a single directory with 1,000 files in it.
@Keats Perhaps this is documented somewhere, but why does Gutenberg not support/encourage a
Mostly because it tries to be discoverable but fails in practice: if you don't post in a month no entry will be generated for that YYYY/MM period so that will be a 404.
We can debate on those points but in the end that's a feature I'm not really interested in and don't want to maintain.
WRT transparent sections, one of the issues not mentioned was the slowness it could cause: the parent section would get all the pages but also all the subsections with their pages, resulting in having pages present 2-3x in the result. #480 should make that cost disappear, if you have any feedback on it.
@Keats That makes sense. It's not something that I feel particularly strongly about (particularly since I confirmed that I can emulate the old paths with the
I don't have any feedback on #480 besides to say that it seems like a good idea to me!
A use case that I have is a small family website where family members have their own blog section with a structure like
Perhaps a way to support this would be to allow users to specify the location of a section's pages in the
The section would then ignore any .md pages in its own directory (maybe the build should error out if there are any) and instead gather up all the pages in the