diff --git a/doc/templates.rst b/doc/templates.rst index 321d8a3b0..f8a2b507f 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::