From 268f4033f1a63cf4d57166e4fe117b6d5a852854 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Mon, 21 Mar 2022 01:59:44 +0100 Subject: [PATCH] Sample contents: Remove Pico's `map` Twig filter --- content-sample/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content-sample/index.md b/content-sample/index.md index 36d564c..4a05740 100644 --- a/content-sample/index.md +++ b/content-sample/index.md @@ -347,8 +347,6 @@ even easier. the array; you can specify `bottom` (move items to bottom; default), `top` (move items to top), `keep` (keep original order) or `remove` (remove items) 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. 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