Jupyter Templates ignored / not applied

Hi,

I have an issue overriding the default notebook templates.

I am creating simple overrides for the notebook templates in /etc/jupyter/templates, which I did specify in /etc/jupyter/jupyter_notebook_config.py in the c.NotebookApp.extra_template_paths variable.

The content of e.g. /etc/jupyter/templates/notebook.html:

{% extends "templates/notebook.html" %}
{% block after_site %}
<p>test</p>
{{super()}}
{% endblock %}

I also did specify some other configs (overriding logout handler), these settings are working.
In /etc/jupyterhub/jupyterhub_config.py I configured the spawner to use the jupyter config file with the c.Spawner.args = ['--config=/etc/jupyter/jupyter_notebook_config.py'].

What does work is modifying the template file itself in /usr/.../python/dist-packages/notebook/templates/.

Did I miss something?

issue resolved, the jupyter_notebook_config.py had wrong permissions.