mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-05-13 12:23:44 +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" />
|
<meta name="robots" content="NONE,NOARCHIVE" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<title>{% block title %}Django REST framework{% endblock %}</title>
|
<title>{% block title %}{% if name %}{{ name }} – {% endif %}Django REST framework{% endblock %}</title>
|
||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
{% block bootstrap_theme %}
|
{% block bootstrap_theme %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user