merma
✨feature: Switch to twig for template engine
This commit is contained in:
1 parent
5e327b9b59
commit
54de77e544
11 files changed
+86
-432
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ var router = express.Router();
|
||||
|
||||
/* GET home page. */
|
||||
router.get('/', function(req, res, next) {
|
||||
res.render('index', { title: 'Express', title2: 'Hi Aarish!', message: 'Welcome to the world of Express.js!' });
|
||||
res.render('index', { title: 'Express' });
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
Reference in new issue
Block a user