Hello there!
I’m using a custom extension to load my middleman views from a directory outside of the :source directory. It all works apart from partials cannot be found in :partials_dir. It doesn’t seem that the :partials_dir setting for middleman is relative to the :source directory setting. My directory structure is as such:
app/
views/
layouts/
shared/
styleguide/
So the middleman views are found in styleguide/ yet the rest of the files for partials and layouts are found in a rails like directory structure in app/views/ and app/views/layouts/ respectively.
The middleman configuration can be found here.
Middleman appears to be looking for the partial inside styleguide/views/ instead of app/views/. Anyone know how I can resolve this?
Thanks in advance,
Luke