diff --git a/docs/howto/overriding-templates.txt b/docs/howto/overriding-templates.txt
index f636948a201d..f99a1203a8d6 100644
--- a/docs/howto/overriding-templates.txt
+++ b/docs/howto/overriding-templates.txt
@@ -111,15 +111,15 @@ reimplement the entire template.
For example, you can use this technique to add a custom logo to the
``admin/base_site.html`` template:
- .. code-block:: html+django
- :caption: ``templates/admin/base_site.html``
+.. code-block:: html+django
+ :caption: ``templates/admin/base_site.html``
- {% extends "admin/base_site.html" %}
+ {% extends "admin/base_site.html" %}
- {% block branding %}
-
- {{ block.super }}
- {% endblock %}
+ {% block branding %}
+
+ {{ block.super }}
+ {% endblock %}
Key points to note: