Support for rendering a template directory