Closed kellyChap closed 7 years ago
Hi @kellyChap. Apologies, but the issues aren't for troubleshooting build problems. Try posting a reduced testcase on stack overflow or asking for help in the metalsmith slack channel.
Currently all unit tests are passing, so it's very likely that it has something to do with your build and not with metalsmith layouts. However, if you do find a bug, please submit a PR with a failing test and I'll take a look. Thank you!
I have the following folder structure within my project:
And I am getting the following error when transforming the content/water-environment-data/rain-and-river-data/scheme.md:
My configuration is as follows:
layouts/rain-and-river-data/scheme.html contains:
content/water-environment-data/rain-and-river-data/scheme.md:
It is expected that default.html gets picked up from layout/partials folder.
It appears that it is looking for partials that are relative to the content directory, rather than using the absolute path.
At the moment it only works if I place all files in the layouts directory only and no sub-directories.
Please help.