|
19 | 19 | How to render templates is covered in the:ref:`controller<controller-rendering-templates>` |
20 | 20 | page of the book. |
21 | 21 |
|
22 | | - |
23 | 22 | ..index:: |
24 | 23 | single: Templating; What is a template? |
25 | 24 |
|
@@ -976,7 +975,6 @@ advantage of Symfony's template inheritance. |
976 | 975 | more interesting things with those assets. For more information on |
977 | 976 | using Assetic see:doc:`/cookbook/assetic/asset_management`. |
978 | 977 |
|
979 | | - |
980 | 978 | Start by adding two blocks to your base template that will hold your assets: |
981 | 979 | one called ``stylesheets`` inside the ``head`` tag and another called ``javascripts`` |
982 | 980 | just above the closing ``body`` tag. These blocks will contain all of the |
@@ -1401,7 +1399,6 @@ Template parameters can then be dumped using the ``dump`` function: |
1401 | 1399 | </a> |
1402 | 1400 | {% endfor %} |
1403 | 1401 |
|
1404 | | - |
1405 | 1402 | The variables will only be dumped if Twig's ``debug`` setting (in ``config.yml``) |
1406 | 1403 | is ``true``. By default this means that the variables will be dumped in the |
1407 | 1404 | ``dev`` environment but not the ``prod`` environment. |
|