Fix YAML in Jekyll posts
To install from npm, run
~ npm install -g fix-yaml
~
fix-yaml [options] <list of files with YAML front-matter to fix>
Options:
-w, --write-output Write fixed YAML front-matter back into the input file [default: false]
-d, --force-date-update Force update date field from filename [default: false]
-h, --help Show help
- Support ability to over-write files
- Support output file extension
- Support updating date using file name
- Autofix description, tags and categories
- Remove YAML keys except the known ones
- Make tag removal optional (atleast provide override to not strip unknown YAML keywords)
- Upload to npm