feature: Switch to twig for template engine
This commit is contained in:
Keith Solomon
2025-05-23 06:41:48 -05:00
parent 5e327b9b59
commit 54de77e544
11 changed files with 86 additions and 432 deletions

View File

@@ -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;