You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how other tools implement it. I think they may rather just have you specify different folders for normal templates and partials. Not sure how that would integrate with the sprockets asset pipeline though.
Is there a way to provide a common prefix for partials so that they can be used without a folder name?
E.g.
partialsPath = 'templates/partials'
orpartialsDefaultPath
And then the partials can be used like
instead of
Obviously I could just put global partials in the templates folder, but that feels dirty.
(strip the underscore as well, but I could live with still needing it).
Apologies if I missed something obvious.
The text was updated successfully, but these errors were encountered: