I'm running version 3.1.12 (Released on 2021-05-06) and getting the build error:
Statamic\Yaml\ParseException
Unable to parse at line....
...
Invalid YAML: Correct any syntax errors. You may have used YAML 1.0 syntax, but 1.2 is expected.
https://statamic.dev/yaml
The .md
files that return an error have multiple Markdown fields, and after a closer look the deliminator ---
ends up at the end of the line of one of the top-most markdown fields rather than on a seperat line, e.g.:
some text from 1st markdown filed ---
some text from 2nd markdown field
When I manually visit the .md
file and hit enter (and remove leading spaces), save and rerun everything works as expected, i.e.:
some text from 1st markdown filed
---
some text from 2nd markdown field
This error didn't occur in my previous version, a bug?
/Joseph