Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Jul 31, 2022
2 parents bd1c737 + fbf7de1 commit f79a0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func writeLinkMap(contentIndex *ContentIndex, root string) error {
if path == "/" {
_, _ = datawriter.WriteString("/index.html /\n")
} else {
_, _ = datawriter.WriteString(path + "/$1.{html} " + path + "/$1\n")
_, _ = datawriter.WriteString(path + "/index.{html} " + path + "/\n")
}
}
datawriter.Flush()
Expand Down

0 comments on commit f79a0b0

Please sign in to comment.