From 614900182f95599352d6a9a5cf0c38f9bf83aec6 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 26 Sep 2024 13:02:49 +0200 Subject: [PATCH 1/3] Update templates.rst: Adding installation command Looks like this isn't included anywhere... --- templates.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates.rst b/templates.rst index 9fefc066fe0..b7c9bd755e3 100644 --- a/templates.rst +++ b/templates.rst @@ -15,6 +15,12 @@ Twig: a flexible, fast, and secure template engine. Twig Templating Language ------------------------ +To intsall Twig, run: + +.. code-block:: bash + + composer require symfony/twig-bundle + The `Twig`_ templating language allows you to write concise, readable templates that are more friendly to web designers and, in several ways, more powerful than PHP templates. Take a look at the following Twig template example. Even if it's From d549313c26b6e200c3b054cbe4c6ac860d81eb50 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Fri, 27 Sep 2024 10:10:40 +0200 Subject: [PATCH 2/3] Update templates.rst Co-authored-by: Matthieu Lempereur --- templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.rst b/templates.rst index b7c9bd755e3..4305e1a382f 100644 --- a/templates.rst +++ b/templates.rst @@ -15,7 +15,7 @@ Twig: a flexible, fast, and secure template engine. Twig Templating Language ------------------------ -To intsall Twig, run: +To install Twig, run: .. code-block:: bash From adc253951e1a1cb035a0678d00ba1e37b99d5b37 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Fri, 27 Sep 2024 10:10:51 +0200 Subject: [PATCH 3/3] Update templates.rst Co-authored-by: Matthieu Lempereur --- templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.rst b/templates.rst index 4305e1a382f..82b29c176e1 100644 --- a/templates.rst +++ b/templates.rst @@ -17,7 +17,7 @@ Twig Templating Language To install Twig, run: -.. code-block:: bash +.. code-block:: terminal composer require symfony/twig-bundle