Rewrite YAML front matter
The first "---" can be ignored