Yeah, that's a good approach.  I've updated accordingly.


On Thu, Aug 15, 2013 at 3:46 PM, Min RK <notifications@github.com> wrote:

> In IPython/html/notebookapp.py:
>
> >          )
> >
> >          # allow custom overrides for the tornado web app.
> >          settings.update(settings_overrides)
> > +
> > +        # create a jinja2 environment using the template path and store it in settings
> > +        settings["jinja2_env"]=Environment(loader=FileSystemLoader(settings["template_path"]))
> > +
>
> All you should need to change is the initial assignment of template_path:
>
> template_path = settings_overrides.get('template_path', os.path.join(os.path.dirname(__file__), "templates"))
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ipython/ipython/pull/4035/files#r5803867>
> .
>