Change template file extension to .hbs

This commit is contained in:
Rafael Bardini 2020-02-10 20:39:42 +01:00
parent 066f92319f
commit 48afc1d699
2 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module.exports = {
function render(resume) {
var css = fs.readFileSync(__dirname + "/style.css", "utf-8");
var template = fs.readFileSync(__dirname + "/resume.template", "utf-8");
var template = fs.readFileSync(__dirname + "/resume.hbs", "utf-8");
return Handlebars.compile(template)({
css: css,
resume: resume