diff --git a/lemonauth/templates/lemonauth/login.html b/lemonauth/templates/lemonauth/login.html index d2ee3e5..d29e864 100644 --- a/lemonauth/templates/lemonauth/login.html +++ b/lemonauth/templates/lemonauth/login.html @@ -1,6 +1,5 @@ {% extends 'lemoncurry/layout.html' %} {% load lemonauth_tags static %} -{% block title %}log in ~ {{ block.super }}{% endblock %} {% block styles %} diff --git a/lemonauth/views.py b/lemonauth/views.py index 9a2c5ae..b16802b 100644 --- a/lemonauth/views.py +++ b/lemonauth/views.py @@ -6,6 +6,7 @@ breadcrumbs.add(route='lemonauth:login', label='log in', parent='home:index') login = auth_views.LoginView.as_view( authentication_form=OTPAuthenticationForm, + extra_context={'title': 'log in'}, template_name='lemonauth/login.html', redirect_authenticated_user=True, ) diff --git a/lemoncurry/templates/lemoncurry/layout.html b/lemoncurry/templates/lemoncurry/layout.html index b7b4855..8c4959a 100644 --- a/lemoncurry/templates/lemoncurry/layout.html +++ b/lemoncurry/templates/lemoncurry/layout.html @@ -1,12 +1,16 @@ {% load compress favtags lemoncurry_tags meta static %} -
-