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
Excerpt relative-path should match its path #6597
Currently a document's excerpt's relative path equals the doc's relative path instead of the excerpt-path relative to the site's source.
Can we do this for 3.7.0 since the excerpt's file path is made available to liquid? It would depend on whether or not we'd consider anything we export to liquid as part of a public facing API that we would need to keep backwards compatible. I tend to think that it is, but I'll let others weigh in.
referenced this pull request
Dec 10, 2017
This needs a test.
As for the breaking change argument, this is a bug fix. We often change the return value of methods in updates to Jekyll (this is part of normal development). What we're trying to avoid is changing method names altogether, which break other programs like plugins. We can absolutely change the output in any release we choose.