{# Extend the upstream JupyterHub template #} {# See: https://jupyterhub.readthedocs.io/en/latest/howto/templates.html#extending-templates #} {% extends "templates/page.html" %} {% block title %} Swan {% endblock %} {% block favicon %} {% endblock favicon %} {% block stylesheet %} {{ super() }} {% endblock stylesheet %} {% block logo %} {% endblock logo %} {% block nav_bar_left_items %} {% if 'admin-ui' in parsed_scopes %} {% endif %} {% endblock nav_bar_left_items %} {% block theme_toggle %} {% endblock theme_toggle %} {% block login_widget %} {% if user %} {{ user.name }} Logout {% else %} Login {% endif %} {% endblock login_widget %} {% block footer %} {% endblock footer %} {% macro render_copyright() %} SWAN | Copyright © {{ current_year }} CERN {% endmacro %} {% macro render_logo() %} CERN logo {% endmacro %} {% macro render_help_links() %}
Home Community Support {{ render_github_logo() -}} GitHub
{% endmacro %} {# The github logo is only avaiable in the fa-brands pack, which is not included in JupyterHub #} {% macro render_github_logo() %} {%- endmacro %}