Skip to content

Commit 253c78b

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Fixed some RST issues in the recently reworded Templates article
2 parents a061076 + e2770b9 commit 253c78b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Rendering a Template Directly from a Route
455455

456456
Although templates are usually rendered in controllers and services, you can
457457
render static pages that don't need any variables directly from the route
458-
definition. Use the special ``TemplateController`` provided by Symfony::
458+
definition. Use the special ``TemplateController`` provided by Symfony:
459459

460460
.. configuration-block::
461461

@@ -601,7 +601,7 @@ Symfony provides a :ref:`dump() function <components-var-dumper-dump>` as an
601601
improved alternative to PHP's ``var_dump()`` function. This function is useful
602602
to inspect the contents of any variable and you can use it in Twig templates too.
603603

604-
First, make sure that the VarDumper component is installed in the application::
604+
First, make sure that the VarDumper component is installed in the application:
605605

606606
.. code-block:: terminal
607607
@@ -821,8 +821,8 @@ complex applications:
821821

822822
* ``templates/base.html.twig``, defines the common elements of all application
823823
templates, such as ``<head>``, ``<header>``, ``<footer>``, etc.;
824-
* ``templates/layout.html.twig``, extends from ``base.html.twig``and defines the
825-
content structure used in all or most of the pages, such as a two-column
824+
* ``templates/layout.html.twig``, extends from ``base.html.twig`` and defines
825+
the content structure used in all or most of the pages, such as a two-column
826826
content + sidebar layout. Some sections of the application can define their
827827
own layouts (e.g. ``templates/blog/layout.html.twig``);
828828
* ``templates/*.html.twig``, the application pages which extend from the main

0 commit comments

Comments
 (0)