improved frontmatter processing, added tests
This commit is contained in:
parent
587085df86
commit
4d27581f0a
4 changed files with 111 additions and 29 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue