projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5446d45
)
fixed makup in doc
author
Fabien Potencier
<fabien.potencier@gmail.com>
Mon, 26 Sep 2011 08:32:52 +0000 (10:32 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Mon, 26 Sep 2011 08:32:52 +0000 (10:32 +0200)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
321d8a3
..
f8a2b50
100644
(file)
--- a/
doc/templates.rst
+++ b/
doc/templates.rst
@@
-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::