mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
d5ebf64836
commit
d1bec54293
1 changed files with 2 additions and 2 deletions
|
@ -385,8 +385,8 @@ func convertJekyllPost(path, relPath, targetDir string, draft bool) error {
|
|||
filename := filepath.Base(path)
|
||||
postDate, postName, err := parseJekyllFilename(filename)
|
||||
if err != nil {
|
||||
jww.ERROR.Println("Parse filename error:", filename)
|
||||
return err
|
||||
jww.WARN.Printf("Failed to parse filename '%s': %s. Skipping.", filename, err)
|
||||
return nil
|
||||
}
|
||||
|
||||
jww.TRACE.Println(filename, postDate, postName)
|
||||
|
|
Loading…
Reference in a new issue