Fixes #3756, adding the name to the HTML title, if it exists.

This commit is contained in:
Michael Lissner 2015-12-22 10:31:18 -08:00
parent ce77ed81df
commit f15026be10

View File

@ -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 %}