fixed makup in doc
authorFabien Potencier <fabien.potencier@gmail.com>
Mon, 26 Sep 2011 08:32:52 +0000 (10:32 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Mon, 26 Sep 2011 08:32:52 +0000 (10:32 +0200)
doc/templates.rst

index 321d8a3..f8a2b50 100644 (file)
@@ -1658,13 +1658,13 @@ the ``blocks.html`` template.
 
     .. code-block:: jinja
 
-    {% extends "base.html" %}
+        {% extends "base.html" %}
 
-    {% use "blocks.html" with sidebar as parent_sidebar %}
+        {% use "blocks.html" with sidebar as parent_sidebar %}
 
-    {% block sidebar %}
-        {{ block('parent_sidebar') }}
-    {% endblock %}
+        {% block sidebar %}
+            {{ block('parent_sidebar') }}
+        {% endblock %}
 
 .. note::