O'Reilly logo
  • Patrick S thinks this is interesting:

The app.set() method also exposes variables to templates application-wide; for example,

app.set('appName', 'HackHall');

will be available in all templates, meaning this example would be valid in a Jade template layout:

doctype 5
html
  head
    title= appName
  body
    block

From

Cover of Pro Express.js

Note

app.set() = system wide variables