Using nunjucks, how can I define some global variables that should always be available within all templates?
Ideally, they would be specified somewhere in the enviro
I was just looking for this and came here. Looks like there's now a recommended way which was added in recently in version 1.0.6.
See Environment.addGlobal.