diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html
index 19d89e8b47c..32613e61846 100644
--- a/django/contrib/admin/templates/admin/base.html
+++ b/django/contrib/admin/templates/admin/base.html
@@ -12,15 +12,15 @@
{% endif %}
-{% block extrastyle %}{% endblock %}
{% if LANGUAGE_BIDI %}{% endif %}
-{% block extrahead %}{% endblock %}
{% block responsive %}
{% if LANGUAGE_BIDI %}{% endif %}
{% endblock %}
{% block blockbots %}{% endblock %}
+{% block extrastyle %}{% endblock %}
+{% block extrahead %}{% endblock %}