Suffix internal links with /
This commit is contained in:
parent
031d8b4a25
commit
6b62570038
1 changed files with 1 additions and 1 deletions
|
@ -72,5 +72,5 @@ func filePrepender(filename string) string {
|
||||||
|
|
||||||
func linkHandler(name string) string {
|
func linkHandler(name string) string {
|
||||||
base := strings.TrimSuffix(name, path.Ext(name))
|
base := strings.TrimSuffix(name, path.Ext(name))
|
||||||
return "/" + strings.ToLower(base)
|
return "/" + strings.ToLower(base) + "/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue