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
Use post's directory path when matching for the post_url tag #998
If you specify
What is the use-case in which this modification is the only way to achieve your end goal, and what are the results of your examples above? Thanks!
This allows for posts that are in subdirectories to work with the
While these subdirectories don't have any special meaning but for large sites, they are useful to for the owners of sites to help organize content when they're writing a few hundred posts a year and don't want them all in one big list. Permalinks take care of the front end organization, but this is for backend organization. For instance, this is better than this (multiplied every year).
Since Jekyll allows you to puts posts with the same file name in different subdirectories, without this pull request, there's no guarantee that the
Consider another use case: how we're supporting multilingual sites. We have posts of other languages in language coded subdirectories, like
So basically, the