hugo/common/maps
Gareth Watts 3400aff258 Allow cascade _target to work with non toml fm
The TOML lib unmarshals slices of string maps to []map[string]interface{}
whereas YAML and JSON decode to []interface{}

The existing tests only check for TOML working correctly, and _target
with cascade did not work at all for frontmatter defined in other formats.

Add a function to normalize those slices

Fixes #7874
2020-10-22 23:00:19 +02:00
..
maps.go Allow cascade _target to work with non toml fm 2020-10-22 23:00:19 +02:00
maps_get.go
maps_test.go Allow cascade _target to work with non toml fm 2020-10-22 23:00:19 +02:00
params.go
params_test.go
scratch.go
scratch_test.go