diff --git a/IPython/html/base/handlers.py b/IPython/html/base/handlers.py index 618e218..092ca0a 100644 --- a/IPython/html/base/handlers.py +++ b/IPython/html/base/handlers.py @@ -138,6 +138,10 @@ class IPythonHandler(AuthenticatedHandler): return self.settings.get('base_url', '/') @property + def default_url(self): + return self.settings.get('default_url', '/') + + @property def ws_url(self): return self.settings.get('websocket_url', '') @@ -238,6 +242,7 @@ class IPythonHandler(AuthenticatedHandler): def template_namespace(self): return dict( base_url=self.base_url, + default_url=self.default_url, ws_url=self.ws_url, logged_in=self.logged_in, login_available=self.login_available, diff --git a/IPython/html/templates/page.html b/IPython/html/templates/page.html index 09131fe..191b34b 100644 --- a/IPython/html/templates/page.html +++ b/IPython/html/templates/page.html @@ -83,7 +83,7 @@