group_by
x | group_by(attribute=)Tera’s grouping by attribute path into a map.
Arguments#
| Argument | Type | Required |
|---|---|---|
attribute | string | yes |
Details#
- Kind: Filter, implemented by a Tera built-in.
- Available in: every kind of template: layouts, partials, shortcodes and render hooks.
- Output: escaped like any value, unless marked
safe.