{# Template for HTML document containing notebook. #}
{# Used by spyder_notebook.server.main.SpyderNotebookHandler. #}
{# Copied from templates/notebook.html in Jupyter Notebook. #}
{{page_config['appName'] | e}} - Notebook
{% block favicon %}
{% endblock %}
{# Copy so we do not modify the page_config with updates. #}
{% set page_config_full = page_config.copy() %}
{# Set a dummy variable - we just want the side effect of the update. #}
{% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %}
{# Sentinel value to say that we are on the notebook page #}
{% set _ = page_config_full.update(notebookPage='notebooks') %}