minor #1484 Delimit comment in template using correct syntax (johnberberich)

This PR was merged into the 1.16-dev branch.

Discussion
----------

Delimit comment in template using correct syntax

Enclose the comment in '{# #}' instead of beginning line with '#'.

Commits
-------

4e1515c Delimit comment in template using correct syntax
This commit is contained in:
Fabien Potencier
2014-08-27 11:24:21 +02:00
+2 -1
View File
@@ -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