hugo/tpl/collections
Bjørn Erik Pedersen f8212d2000
tpl/collections: Return en empty slice in after instead of error
When the given index is out of bounds. So it can safely be used with `with` etc. without extra length checking.

Fixes #4894
2018-07-01 20:34:02 +02:00
..
apply.go tpl/collections: Add Pages support to Intersect and Union 2017-07-03 21:48:03 +02:00
apply_test.go
collections.go tpl/collections: Return en empty slice in after instead of error 2018-07-01 20:34:02 +02:00
collections_test.go tpl/collections: Return en empty slice in after instead of error 2018-07-01 20:34:02 +02:00
index.go
index_test.go all: gofmt -s 2017-08-07 20:03:15 +02:00
init.go hugolib: Implement "related content" 2017-09-06 00:20:02 +02:00
init_test.go
reflect_helpers.go tpl/collections: Add Pages support to Intersect and Union 2017-07-03 21:48:03 +02:00
sort.go
sort_test.go
where.go tpl/collections: Fix intersect on []interface{} handling 2017-07-28 07:21:21 +02:00
where_test.go tpl/collections: Fix intersect on []interface{} handling 2017-07-28 07:21:21 +02:00