Merge branch 'dev'

This commit is contained in:
Jacky Zhao 2022-07-31 16:50:29 -07:00
commit f79a0b0d6a

View File

@ -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()