Sample contents: Remove Pico's map
Twig filter
This commit is contained in:
parent
1da5e26d57
commit
268f4033f1
@ -347,8 +347,6 @@ even easier.
|
|||||||
the array; you can specify `bottom` (move items to bottom; default), `top`
|
the array; you can specify `bottom` (move items to bottom; default), `top`
|
||||||
(move items to top), `keep` (keep original order) or `remove` (remove items)
|
(move items to top), `keep` (keep original order) or `remove` (remove items)
|
||||||
as second parameter to change this behavior.
|
as second parameter to change this behavior.
|
||||||
* You can return all values of a given array key using the `map` filter
|
|
||||||
(e.g. `{{ pages|map("title") }}` returns all page titles).
|
|
||||||
* Use the `url_param` and `form_param` Twig functions to access HTTP GET (i.e.
|
* Use the `url_param` and `form_param` Twig functions to access HTTP GET (i.e.
|
||||||
a URL's query string like `?some-variable=my-value`) and HTTP POST (i.e. data
|
a URL's query string like `?some-variable=my-value`) and HTTP POST (i.e. data
|
||||||
of a submitted form) parameters. This allows you to implement things like
|
of a submitted form) parameters. This allows you to implement things like
|
||||||
|
Loading…
x
Reference in New Issue
Block a user