I\'m trying to find out how to load and render a basic HTML file so I don\'t have to write code like:
response.write(\'...blahblahblah...\
blahblahblah
use ejs instead of jade
npm install ejs
app.js
app.engine('html', require('ejs').renderFile); app.set('view engine', 'html');
./routes/index.js
exports.index = function(req, res){ res.render('index', { title: 'ejs' });};