Commit 2d27d9a1 by Tom Christie

Merge pull request #3769 from mlissner/master

Fixes #3756, adding the name to the HTML title, if it exists.
parents 503687d8 f15026be
...@@ -12,7 +12,7 @@ ...@@ -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 %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment