Dynamic Files
Analyse Repeated Structure of Files
You need to abstract out the general structure of your dynamic components needed. Subdivide the dynamic files into standard sections and develop partials for each section.
Creating generic.hbs
See the generic.hbs
sample for a model.
As stated above, the generic.hbs
is currently used for all generated dynamic files. That will change soon, but for now you can in fact use conditional branches to handle an endless variety of dynamic files from a single Handlebars file.
Creating Partials
The best bet would be to create a partial for each section. Then you may need additional partials called by those. See this sample partials directory.