Skip to content

Commit 28704ef

Browse files
authored
A few minor tweaks
1 parent 50c8385 commit 28704ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templating.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ Creating links to other pages in your application is one of the most common
575575
jobs for a template. Instead of hardcoding URLs in templates, use the ``path``
576576
Twig function (or the ``router`` helper in PHP) to generate URLs based on
577577
the routing configuration. Later, if you want to modify the URL of a particular
578-
page, all you'll need to do is change the routing configuration; the templates
578+
page, all you'll need to do is change the routing configuration: the templates
579579
will automatically generate the new URL.
580580

581581
First, link to the "_welcome" page, which is accessible via the following routing
@@ -706,7 +706,7 @@ route:
706706
707707
In this case, you need to specify both the route name (``article_show``) and
708708
a value for the ``{slug}`` parameter. Using this route, revisit the
709-
``recent_list`` template from the previous section and link to the articles
709+
``recent_list.html.twig`` template from the previous section and link to the articles
710710
correctly:
711711

712712
.. configuration-block::
@@ -905,14 +905,14 @@ block of the base template.
905905

906906
You can also include assets located in your bundles' ``Resources/public`` folder.
907907
You will need to run the ``php app/console assets:install target [--symlink]``
908-
command, which moves (or symlinks) files into the correct location. (target
908+
command, which copies (or symlinks) files into the correct location. (target
909909
is by default "web").
910910

911911
.. code-block:: html+twig
912912

913913
<link href="{{ asset('bundles/acmedemo/css/contact.css') }}" rel="stylesheet" />
914914

915-
The end result is a page that includes both the ``main.css`` and ``contact.css``
915+
The end result is a page that includes ``main.js`` and both the ``main.css`` and ``contact.css``
916916
stylesheets.
917917

918918
Referencing the Request, User or Session
@@ -934,7 +934,7 @@ Suppose ``description`` equals ``I <3 this product``:
934934
.. code-block:: twig
935935
936936
<!-- output escaping is on automatically -->
937-
{{ description }} <!-- I &lt3 this product -->
937+
{{ description }} <!-- I &lt;3 this product -->
938938
939939
<!-- disable output escaping with the raw filter -->
940940
{{ description|raw }} <!-- I <3 this product -->

0 commit comments

Comments
 (0)