mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
[template_from_string]Fixed typo
This commit is contained in:
@@ -8,8 +8,8 @@ The ``template_from_string`` function loads a template from a string:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{% include template_from_string("Hello {{ name }}") }}
|
||||
{% include template_from_string(page.template) }}
|
||||
{% include template_from_string("Hello {{ name }}") %}
|
||||
{% include template_from_string(page.template) %}
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user