improved frontmatter processing, added tests

This commit is contained in:
Daniel Fichtinger 2025-01-02 01:47:49 -05:00
parent 587085df86
commit 4d27581f0a
No known key found for this signature in database
GPG key ID: D1B0947B25420214
4 changed files with 111 additions and 29 deletions

View file

@ -70,7 +70,7 @@ func processFile(inPath string, entry fs.DirEntry, err error, outRoot string, se
hasFrontmatter := false
if toProcess {
// process its frontmatter here
m, err := processFrontmatter(inPath)
m, _, err := processFrontmatter(inPath)
if err != nil {
return err
}