This commit is contained in:
Jacky Zhao 2021-10-24 22:50:57 -07:00
commit 00ad08df2f

View File

@ -69,7 +69,7 @@ func parse(dir, pathPrefix string) []Link {
target := strings.Split(processTarget(target), "#")[0]
fmt.Printf(" %s\n", target)
links = append(links, Link{
Source: hugoPathTrim(trim(dir, pathPrefix, ".md")),
Source: filepath.ToSlash(hugoPathTrim(trim(dir, pathPrefix, ".md"))),
Target: target,
Text: text,
})