Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marvinhuebner opened this issue Apr 23, 2018 · 1 comment

Comments

@marvinhuebner
Copy link

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?

@marvinhuebner
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant