From bcb91611eca154f022211633fe485e3e1a3c608d Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 22 Oct 2024 11:06:34 +0200 Subject: [PATCH] Fixed example indentation in howto/overriding-templates.txt. --- docs/howto/overriding-templates.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/howto/overriding-templates.txt b/docs/howto/overriding-templates.txt index f636948a201..f99a1203a8d 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 %} - logo - {{ block.super }} - {% endblock %} + {% block branding %} + logo + {{ block.super }} + {% endblock %} Key points to note: