docs: Fix group_by_exp filter example (#7394)

Merge pull request 7394
This commit is contained in:
Joe Shannon 2018-11-27 23:37:09 +00:00 committed by jekyllbot
parent 78ea59f5a7
commit e4677b8567
1 changed files with 3 additions and 3 deletions

View File

@ -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"=>[...]}]
#