mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
remove obsolete docs
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
``block``
|
||||
=========
|
||||
|
||||
.. versionadded: 1.28
|
||||
Using ``block`` with the ``defined`` test was added in Twig 1.28.
|
||||
|
||||
.. versionadded: 1.28
|
||||
Support for the template argument was added in Twig 1.28.
|
||||
|
||||
When a template uses inheritance and if you want to print a block multiple
|
||||
times, use the ``block`` function:
|
||||
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
``with``
|
||||
========
|
||||
|
||||
.. versionadded:: 1.28
|
||||
The ``with`` tag was added in Twig 1.28.
|
||||
|
||||
Use the ``with`` tag to create a new inner scope. Variables set within this
|
||||
scope are not visible outside of the scope:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user