1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Files
gohugoio-hugo/hugolib
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
..
2019-08-26 15:00:44 +02:00
2019-08-16 16:24:21 +02:00
2020-06-17 10:52:35 +02:00
2020-10-22 09:09:29 +02:00
2019-03-23 18:51:22 +01:00
2020-10-22 09:09:29 +02:00
2020-06-12 09:14:20 +02:00
2019-07-24 09:35:53 +02:00
2019-03-23 18:51:22 +01:00
2019-07-24 09:35:53 +02:00
2020-07-06 20:03:36 +02:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2020-10-22 09:09:29 +02:00
2019-03-23 18:51:22 +01:00
2018-03-18 09:54:32 +01:00
2020-02-19 14:52:23 +01:00
2019-08-08 20:13:39 +02:00
2020-10-22 09:09:29 +02:00
2019-08-08 20:13:39 +02:00