both js-yaml
and PyYAML
will convert
team:
-
- bio: this is a test
name: another test
- bio: second item
name: foo bar 2
-
- bio: another
name: another
to this
team:
- - bio: this is a test
name: another test
- bio: second item
name: foo bar 2
- - bio: another
name: another
In Hugo it appears to be having issues reading the data file when - -
appears but has no issue when its spaced out and there is a single -
on a line
I tested a simple go script and it seemed to be able to parse both formats ok so i'm not sure why hugo doesn't like it