From 4e1515c3c500caec1a5012d5a2c8d85c9fb9285c Mon Sep 17 00:00:00 2001 From: John Berberich Date: Fri, 22 Aug 2014 10:11:09 -0400 Subject: [PATCH] Delimit comment in template using correct syntax Enclose the comment in '{# #}' instead of beginning line with '#'. --- doc/tags/use.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/tags/use.rst b/doc/tags/use.rst index e403632dc..a2f3af090 100644 --- a/doc/tags/use.rst +++ b/doc/tags/use.rst @@ -39,7 +39,8 @@ The ``use`` statement tells Twig to import the blocks defined in .. code-block:: jinja - # blocks.html + {# blocks.html #} + {% block sidebar %}{% endblock %} In this example, the ``use`` statement imports the ``sidebar`` block into the