Configure templating environment