From e4677b8567a853351c119e2e11f1cc9656b80a3e Mon Sep 17 00:00:00 2001 From: Joe Shannon <35498448+joeshannon@users.noreply.github.com> Date: Tue, 27 Nov 2018 23:37:09 +0000 Subject: [PATCH] docs: Fix group_by_exp filter example (#7394) Merge pull request 7394 --- docs/_data/jekyll_filters.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_data/jekyll_filters.yml b/docs/_data/jekyll_filters.yml index adc494c3..27089e73 100644 --- a/docs/_data/jekyll_filters.yml +++ b/docs/_data/jekyll_filters.yml @@ -127,10 +127,10 @@ examples: - input: |- {{ site.members | group_by_exp: "item", - "item.graduation_year | truncate 3, ''" }} + "item.graduation_year | truncate: 3, ''" }} output: |- - [{"name"=>"201...", "items"=>[...]}, - {"name"=>"200...", "items"=>[...]}] + [{"name"=>"201", "items"=>[...]}, + {"name"=>"200", "items"=>[...]}] #