mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 11:27:00 +00:00
merged branch nomack84/fixed_typo (PR #891)
This PR was merged into the master branch.
Commits
-------
cc65c88 [template_from_string]Fixed typo
Discussion
----------
[template_from_string]Fixed typo in docs
Fix a typo in the template_from_string function docs
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