mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
3400aff258
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 |
||
---|---|---|
.. | ||
collections | ||
constants | ||
herrors | ||
hreflect | ||
hugio | ||
hugo | ||
loggers | ||
maps | ||
math | ||
para | ||
terminal | ||
text | ||
types | ||
urls |