mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Merge pull request #4035 from mlhenderson/master
Fixed custom jinja2 templates being ignored when setting template_path
This commit is contained in:
commit
5b4b944a4d
@ -149,7 +149,7 @@ class NotebookWebApplication(web.Application):
|
||||
# Note that the URLs these patterns check against are escaped,
|
||||
# and thus guaranteed to be ASCII: 'héllo' is really 'h%C3%A9llo'.
|
||||
base_project_url = py3compat.unicode_to_str(base_project_url, 'ascii')
|
||||
template_path = os.path.join(os.path.dirname(__file__), "templates")
|
||||
template_path = settings_overrides.get("template_path", os.path.join(os.path.dirname(__file__), "templates"))
|
||||
settings = dict(
|
||||
# basics
|
||||
base_project_url=base_project_url,
|
||||
|
Loading…
Reference in New Issue
Block a user