mirror of
https://github.com/jackyzha0/hugo-obsidian.git
synced 2024-06-14 11:42:35 +03:00
Merge pull request #4 from bur3ku/master
This commit is contained in:
commit
439af69fed
2
main.go
2
main.go
@ -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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user