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 would like to be able to use template from templates/more-specific-dir/ if it exists, but fallback to templates/ if eta can't find it in first directory(like body.eta).
Describe the solution you'd like
Configuration option views could support array as value.
example: ['templates/primary-directory', 'templates/first-fallback', 'templates/second-fallback', ...]
Describe alternatives you've considered
ejs supports multiple directories for views, however I like Eta better.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have multiple directories that contain templates with same file name:
I would like to be able to use template from
templates/more-specific-dir/
if it exists, but fallback totemplates/
if eta can't find it in first directory(likebody.eta
).Describe the solution you'd like
Configuration option
views
could support array as value.example:
['templates/primary-directory', 'templates/first-fallback', 'templates/second-fallback', ...]
Describe alternatives you've considered
ejs supports multiple directories for
views
, however I like Eta better.The text was updated successfully, but these errors were encountered: