Suffix internal links with /

This commit is contained in:
Finn 2021-02-07 13:14:56 -08:00
parent 031d8b4a25
commit 6b62570038

View file

@ -72,5 +72,5 @@ func filePrepender(filename string) string {
func linkHandler(name string) string {
base := strings.TrimSuffix(name, path.Ext(name))
return "/" + strings.ToLower(base)
return "/" + strings.ToLower(base) + "/"
}