fix: re-add handlebars-helpers
This commit is contained in:
parent
1fd6b326dc
commit
6ebaccc020
3 changed files with 4284 additions and 6 deletions
|
|
@ -49,6 +49,7 @@ export class Armory {
|
|||
partialsDir: path.join(process.cwd(), "static", "partials"),
|
||||
layoutsDir: path.join(process.cwd(), "static"),
|
||||
defaultLayout: "layout.html",
|
||||
helpers: require("handlebars-helpers")(),
|
||||
}));
|
||||
app.set("view engine", "handlebars");
|
||||
app.set("views", path.join(process.cwd(), "static"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue