mirror of
https://github.com/jackyzha0/hugo-obsidian.git
synced 2024-06-14 11:42:35 +03:00
Merge branch 'dev'
This commit is contained in:
commit
f79a0b0d6a
2
write.go
2
write.go
@ -61,7 +61,7 @@ func writeLinkMap(contentIndex *ContentIndex, root string) error {
|
|||||||
if path == "/" {
|
if path == "/" {
|
||||||
_, _ = datawriter.WriteString("/index.html /\n")
|
_, _ = datawriter.WriteString("/index.html /\n")
|
||||||
} else {
|
} else {
|
||||||
_, _ = datawriter.WriteString(path + "/$1.{html} " + path + "/$1\n")
|
_, _ = datawriter.WriteString(path + "/index.{html} " + path + "/\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
datawriter.Flush()
|
datawriter.Flush()
|
||||||
|
Loading…
Reference in New Issue
Block a user