This commit is contained in:
@@ -60,6 +60,7 @@ a {
|
||||
background: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero > .main {
|
||||
|
||||
@@ -13,7 +13,7 @@ class Output {
|
||||
}
|
||||
|
||||
async compileTemplate () {
|
||||
const templateFile = await fs.readFileSync('./output/template.hbs', 'utf8')
|
||||
const templateFile = await fs.readFileSync('./src/output/template.hbs', 'utf8')
|
||||
const template = Handlebars.compile(templateFile)
|
||||
return template(this)
|
||||
}
|
||||
@@ -26,7 +26,7 @@ class Output {
|
||||
} catch {
|
||||
console.log('File probably doesnt exist')
|
||||
}
|
||||
fs.writeFileSync(filename, content, 'utf-8')
|
||||
fs.writeFileSync(filename, content, 'utf8')
|
||||
}
|
||||
|
||||
async submit () {
|
||||
Reference in New Issue
Block a user