Skip to content

Commit 08f682e

Browse files
cordovalweaverryan
authored andcommitted
update according to stofs comments
1 parent cf952da commit 08f682e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/templating.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ The template is included using the ``{{ include() }}`` function. Notice that the
563563
template name follows the same typical convention. The ``articleDetails.html.twig``
564564
template uses an ``article`` variable. This could be passed in by the ``list.html.twig``
565565
template using the ``with`` command supported on a twig ``include`` tag. In this
566-
case however, we opt to use the twig ``include`` function which passes context automatically
567-
and passes also optional hashes.
566+
case however, we chose to use the twig ``include`` function which also passes context
567+
by default and passes also optional hashes however without the need for a ``with`` keyword.
568568

569569
.. tip::
570570

0 commit comments

Comments
 (0)