app.get('/index', function(req, res){ res.render('index.ejs', { title: 'My Site'}); }); in view/index.ejs you would have: <title><%= title%></title> inside your html to fill it in
<%- include('user/show', {user: user}); %>