hugo/tpl/collections
Bjørn Erik Pedersen a3fe5e5e35
Fix Params case handling in the index, sort and where func
This means that you can now do:

```
{{ range where .Site.Pages "Params.MYPARAM" "foo" }}
```
2019-11-22 18:41:50 +01:00
..
append.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
append_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
apply.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
apply_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
collections.go tpl/collections: Allow dict to create nested structures 2019-11-11 21:55:16 +01:00
collections_test.go Fix Params case handling in the index, sort and where func 2019-11-22 18:41:50 +01:00
complement.go tpl/collections: Add collections.SymDiff 2018-11-06 16:51:49 +01:00
complement_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
index.go Fix Params case handling in the index, sort and where func 2019-11-22 18:41:50 +01:00
index_test.go Fix Params case handling in the index, sort and where func 2019-11-22 18:41:50 +01:00
init.go tpl/collections: Add Merge function 2019-07-15 20:47:35 +02:00
init_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
merge.go tpl/collections: Add Merge function 2019-07-15 20:47:35 +02:00
merge_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
reflect_helpers.go all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
sort.go Fix Params case handling in the index, sort and where func 2019-11-22 18:41:50 +01:00
sort_test.go Fix Params case handling in the index, sort and where func 2019-11-22 18:41:50 +01:00
symdiff.go tpl/collections: Add collections.SymDiff 2018-11-06 16:51:49 +01:00
symdiff_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
where.go Fix Params case handling in the index, sort and where func 2019-11-22 18:41:50 +01:00
where_test.go Fix Params case handling in the index, sort and where func 2019-11-22 18:41:50 +01:00