mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
dac7092a9c
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 |
||
---|---|---|
.. | ||
append.go | ||
append_test.go | ||
collections.go | ||
slice.go | ||
slice_test.go |