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