Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixes #3756, adding the name to the HTML title, if it exists.
  • Loading branch information
mlissner committed Dec 22, 2015
commit f15026be1071845aba46a31da47a7dd3a4ba3fdb
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