From: Fabien Potencier Date: Mon, 26 Sep 2011 08:32:52 +0000 (+0200) Subject: fixed makup in doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=d02d07d5ecd37bfb5342514e9eb880ba179f2117;p=web%2Fkonrad%2Ftwig.git fixed makup in doc --- diff --git a/doc/templates.rst b/doc/templates.rst index 321d8a3..f8a2b50 100644 --- 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::