Skip to content

Commit 8879582

Browse files
committed
Fixing markup issues
1 parent 28e84c5 commit 8879582

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/templating.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -802,9 +802,9 @@ advantage of Symfony's template inheritance.
802802
Start by adding two blocks to your base template that will hold your assets:
803803
one called ``stylesheets`` inside the ``head`` tag and another called ``javascripts``
804804
just above the closing ``body`` tag. These blocks will contain all of the
805-
stylesheets and Javascripts that you'll need throughout your site::
805+
stylesheets and Javascripts that you'll need throughout your site:
806806

807-
.. code-block:: html+twig
807+
.. code-block:: html+jinja
808808

809809
{# 'app/Resources/views/base.html.twig' #}
810810
<html>
@@ -829,7 +829,7 @@ Javascript from a child template? For example, suppose you have a contact
829829
page and you need to include a ``contact.css`` stylesheet *just* on that
830830
page. From inside that contact page's template, do the following:
831831

832-
.. code-block:: html+twig
832+
.. code-block:: html+jinja
833833

834834
{# src/Acme/DemoBundle/Resources/views/Contact/contact.html.twig #}
835835
{# extends '::base.html.twig' #}

0 commit comments

Comments
 (0)