mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
1 parent
d5ebf64836
commit
d1bec54293
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user