summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-10-22 11:06:34 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-10-22 13:07:19 +0200
commitbcb91611eca154f022211633fe485e3e1a3c608d (patch)
treead0ba0ad7ba58422fca085b7466dae08da94704d /docs/howto
parent5a91ad3d7115c692d497663a155edee5ebc8989c (diff)
Fixed example indentation in howto/overriding-templates.txt.
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/overriding-templates.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/howto/overriding-templates.txt b/docs/howto/overriding-templates.txt
index f636948a20..f99a1203a8 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 %}
- <img src="link/to/logo.png" alt="logo">
- {{ block.super }}
- {% endblock %}
+ {% block branding %}
+ <img src="link/to/logo.png" alt="logo">
+ {{ block.super }}
+ {% endblock %}
Key points to note: