DirectorySource not loading templates in a heirarchy
Closed this issue · 2 comments
ghotiphud commented
Loading templates puts them all in a flat namespace instead of a heirarchy like described here in the README.
For DirectorySource, handlebars engine will walk the directory specified by prefix, try to register all templates matches the suffix, and extract its name as template name. For instance, ./examples/templates/some/path/index.hbs will be registered as some/path/index.
sunng87 commented
Thank you for reporting. I confirm this is a bug. I will look into it asap.