mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-25 22:17:37 -04:00

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