Skip to content

Commit

Permalink
Merge pull request #3769 from mlissner/master
Browse files Browse the repository at this point in the history
Fixes #3756, adding the name to the HTML title, if it exists.
  • Loading branch information
tomchristie committed Dec 23, 2015
2 parents 503687d + f15026b commit 2d27d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/templates/rest_framework/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 2d27d9a

Please sign in to comment.