Change template file extension to .hbs
This commit is contained in:
parent
066f92319f
commit
48afc1d699
2
index.js
2
index.js
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue