0
votes

Many years ago I used Yeoman + Grunt + Assemble.IO to create static websites with templates. I created a layout with the top menu, footer, and other things that would be used on all pages (layout.hbs) and then individually created each page I needed using a .hbs file, eg contact.hbs, index.hbs, signup.hbs, downloads.hbs, etc.

When I compiled with Grunt, all these files were merged together with the layout.hbs, which resulted in HTML files, ready to be uploaded to the production servers.

Unfortunately all these libraries have become outdated with time and I am studying working with Webpack and Handlebar.

My question is: Can webpack + handlebar have this behavior of generating an HTML based on a base layout + partial page?