foundation/panini

Ability to specify multiple folders per feature with an array in 2.0

marvinhuebner opened this issue · 1 comments

I'm really looking forward to the new features which version 2.0 brings, but unfortunately i've seen that version 2.0 has no option to configure the path to partials or layouts.

We have some project there we share layout and partials between several landing pages. So we pass a default paths to the layouts, data and partials but we have several directories for the pages.

Could it be possible to bring these options back to panini?

Because I'm currently doing a lot with foundation for emails (plus inky and panini), this point has come to my head again. Here is a recent example where I have to set special paths for layouts and partials (Magento 2 Template): https://github.com/bergwerk/magento2-frontools/blob/ec2219cad835510832542a57004e7188fbda9999/helper/inky.js#L40-L45

With version 1 that works great, with version 2 that would not work anymore.

There were probably already the options in version 2, but there were removed (8d5a667). Maybe there is the option to reintroduce it. The option that the paths are recognized automatically can be set as default, but if you want to change this, it would be great to have this option.