app.get('/lect1.html', function (req, res) {
  var a_local_variable;
  // you do some stuff here
  if (some_condition) {
    a_local_variable = value;
  }
  res.render('lect1', {
    // this has a dynamic value
    'my_var': a_local_variable
  });
});