mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-26 08:20:46 +03:00
Fixes #3756, adding the name to the HTML title, if it exists.
This commit is contained in:
parent
ce77ed81df
commit
f15026be10
|
@ -12,7 +12,7 @@
|
|||
<meta name="robots" content="NONE,NOARCHIVE" />
|
||||
{% endblock %}
|
||||
|
||||
<title>{% block title %}Django REST framework{% endblock %}</title>
|
||||
<title>{% block title %}{% if name %}{{ name }} – {% endif %}Django REST framework{% endblock %}</title>
|
||||
|
||||
{% block style %}
|
||||
{% block bootstrap_theme %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user