hugo/tpl/collections
Bjørn Erik Pedersen e8a716b23a tpl/collections: Fix slice type handling in sort
The `sort` template func was producing a `[]page.Page` which did not work in `.Paginate`.

Fixes #6023
2019-06-10 08:32:44 +02:00
..
append.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
append_test.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
apply.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
apply_test.go Make Page an interface 2019-03-23 18:51:22 +01:00
collections.go tpl/collections: Return error on invalid input in in 2019-04-19 08:58:12 +02:00
collections_test.go tpl/collections: Unwrap any interface value in sort and where 2019-06-09 16:54:36 +02:00
complement.go tpl/collections: Add collections.SymDiff 2018-11-06 16:51:49 +01:00
complement_test.go Run gofmt -s 2019-03-23 20:15:06 +01:00
index.go tpl: Add template function namespaces 2017-04-30 10:56:38 +02:00
index_test.go all: gofmt -s 2017-08-07 20:03:15 +02:00
init.go tpl/collections: Add collections.SymDiff 2018-11-06 16:51:49 +01:00
init_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
reflect_helpers.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
sort.go tpl/collections: Fix slice type handling in sort 2019-06-10 08:32:44 +02:00
sort_test.go tpl/collections: Fix slice type handling in sort 2019-06-10 08:32:44 +02:00
symdiff.go tpl/collections: Add collections.SymDiff 2018-11-06 16:51:49 +01:00
symdiff_test.go Run gofmt -s 2019-03-23 20:15:06 +01:00
where.go tpl/collections: Unwrap any interface value in sort and where 2019-06-09 16:54:36 +02:00
where_test.go tpl/collections: Unwrap any interface value in sort and where 2019-06-09 16:54:36 +02:00