@@ -455,7 +455,7 @@ Rendering a Template Directly from a Route
455
455
456
456
Although templates are usually rendered in controllers and services, you can
457
457
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:
459
459
460
460
.. configuration-block ::
461
461
@@ -596,7 +596,7 @@ Symfony provides a :ref:`dump() function <components-var-dumper-dump>` as an
596
596
improved alternative to PHP's ``var_dump() `` function. This function is useful
597
597
to inspect the contents of any variable and you can use it in Twig templates too.
598
598
599
- First, make sure that the VarDumper component is installed in the application::
599
+ First, make sure that the VarDumper component is installed in the application:
600
600
601
601
.. code-block :: terminal
602
602
@@ -816,8 +816,8 @@ complex applications:
816
816
817
817
* ``templates/base.html.twig ``, defines the common elements of all application
818
818
templates, such as ``<head> ``, ``<header> ``, ``<footer> ``, etc.;
819
- * ``templates/layout.html.twig ``, extends from ``base.html.twig``and defines the
820
- content structure used in all or most of the pages, such as a two-column
819
+ * ``templates/layout.html.twig ``, extends from ``base.html.twig `` and defines
820
+ the content structure used in all or most of the pages, such as a two-column
821
821
content + sidebar layout. Some sections of the application can define their
822
822
own layouts (e.g. ``templates/blog/layout.html.twig ``);
823
823
* ``templates/*.html.twig ``, the application pages which extend from the main
0 commit comments