From 48afc1d69918f578060d1cd1388bba3da898e02d Mon Sep 17 00:00:00 2001 From: Rafael Bardini Date: Mon, 10 Feb 2020 20:39:42 +0100 Subject: [PATCH] Change template file extension to .hbs --- index.js | 2 +- resume.template => resume.hbs | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename resume.template => resume.hbs (100%) diff --git a/index.js b/index.js index a946279..821ff6a 100644 --- a/index.js +++ b/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 diff --git a/resume.template b/resume.hbs similarity index 100% rename from resume.template rename to resume.hbs