-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to customize login page and other templates? #96
Comments
I've been looking into this for #79 and from the looks of it and the documentation says so, too. |
I'm not running this anymore so I don't have a setup to try it out on, sorry. But at a glance it doesn't look like the same issue, the question was about how to extend the provided templates as a user. |
That's true, but if you add the nativeauthenticator template directory to the configuration file as instructed over there you should be able to easily extend the templates as you do here. But since you don't actually run this any more, I'll close this issue. |
Just came across this issue and this is how we override the template, it requires a trick to modify the login handler since nativeauthenticator change it to
and I have {% extends "native-login.html" %}
{% block title %}PSI AiiDAlab - Login{% endblock %}
.... |
I'm trying to customize the login page with some additional information for users. Adding my own directory containing a
native-login.html
toc.JupyterHub.template_paths
isn't enough apparently.Example:
The text was updated successfully, but these errors were encountered: