I need to generate a file from a template, but I need it to create an actual html file. When I use templating engines like pug or haml, I've got one pug (haml) file that gets rendered with the variables I provide.
But I need to have a template with variables and then generate a new, actual static html file created from that template with said variables.
How can I do that?