I write on node, express js and template Handlebars. Before that, I wrote in php and posted header and footer to different files. How can the same be done elegantly on a node?
- Handlebars out of the box support partials. - Dmitriy Simushev
- how to use it? from the documentation is not very clear - arseniy mironov
|
1 answer
And what is there in the documentation is not clear?
{{> foo/bar}} in cases where bar.handlebars is in /views/partials/foo/
|