mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
6667c6d743
This extends the page grouping in Hugo with a template function that allows for ad-hoc grouping. A made-up example: ``` {{ $cool := where .Site.RegularPages "Params.cool" true | group "cool" }} {{ $blue := where .Site.RegularPages "Params.blue" true | group "blue" }} {{ $paginator := .Paginate (slice $cool $blue) }} ``` Closes #4865 |
||
---|---|---|
.. | ||
apply.go | ||
apply_test.go | ||
collections.go | ||
collections_test.go | ||
index.go | ||
index_test.go | ||
init.go | ||
init_test.go | ||
reflect_helpers.go | ||
sort.go | ||
sort_test.go | ||
where.go | ||
where_test.go |