Change engine template to pugjs

parent 01b3d33c
......@@ -13,7 +13,7 @@
"license": "GPL-3.0",
"dependencies": {
"canvas": "2.0.0-alpha.5",
"ejs": "^2.5.7",
"express": "^4.16.1"
"express": "^4.16.1",
"pug": "^2.0.0-rc.4"
}
}
......@@ -10,7 +10,7 @@ const config = require('./config.json');
const enLocale = require('./locale/en.json');
app.set('x-powered-by', false);
app.set('view engine', 'ejs');
app.set('view engine', 'pug');
app.use(express.static('./static'));
// {name: filepath}
......
......@@ -95,6 +95,7 @@ a {
}
.white-button, .blue-button {
margin-left: 5px;
display: inline-block;
cursor: pointer;
height: 50px;
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment