@toolness I thought a little more about passing in a different env to limit the templates that can be rendered, and the crappy thing about that is potentially having to redefine any filters and such that get added to the main nunjucks environment. I think some sort of whitelist would be better, so I'll work on that.