hugo/common/collections
Bjørn Erik Pedersen dac7092a9c common/collections: Allow a mix of slice types in append/Scratch.Add
The type handling in these was improved in Hugo 0.49, but this also meant that it was no longer possible to start out with a string slice and later append `Page` etc. to it.

This commit makes sure that the old behaviour is now possible again by falling back to a `[]interface{}` as a last resort.

Fixes #5361
2018-10-27 15:05:40 +02:00
..
append.go common/collections: Allow a mix of slice types in append/Scratch.Add 2018-10-27 15:05:40 +02:00
append_test.go common/collections: Allow a mix of slice types in append/Scratch.Add 2018-10-27 15:05:40 +02:00
collections.go
slice.go
slice_test.go