fix link to be lowercase (#4382)

This commit is contained in:
Erin Krengel 2020-04-13 15:48:36 -07:00 committed by GitHub
parent b5b0fa0136
commit 562d1298f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1332,7 +1332,7 @@ func (mod *modContext) genIndex() indexData {
parts := strings.Split(modName, "/")
modName = parts[len(parts)-1]
modules = append(modules, indexEntry{
Link: modName + "/",
Link: strings.ToLower(modName) + "/",
DisplayName: modName,
})
}