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