mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Merge pull request #3769 from mlissner/master
Fixes #3756, adding the name to the HTML title, if it exists.
This commit is contained in:
commit
2d27d9a10a
|
@ -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