forked from 00dani/lemoncurry
Add support for ogp:url and the much nicer rel="canonical", as well as smarter title handling
This commit is contained in:
parent
57b14e01ce
commit
0328ab97f6
4 changed files with 17 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
{% extends 'lemoncurry/layout.html' %}
|
||||
{% load lemonauth_tags static %}
|
||||
{% block title %}log in ~ {{ block.super }}{% endblock %}
|
||||
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" type="text/stylus" href="{% static 'lemonauth/css/login.styl' %}" />
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue