hugo/common/maps
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
..
maps.go
maps_test.go
scratch.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
scratch_test.go common/collections: Allow a mix of slice types in append/Scratch.Add 2018-10-27 15:05:40 +02:00