benbohmer
2022-05-03 97607c3ca5ac837f7f6bc7a048b72a8271fbd570
refs
author benbohmer <103453816+benbohmer@users.noreply.github.com>
Tuesday, May 3, 2022 07:10 +0000
committer GitHub <noreply@github.com>
Tuesday, May 3, 2022 07:10 +0000
commit97607c3ca5ac837f7f6bc7a048b72a8271fbd570
tree ac88d74e8aaf5eb4bdf96d1da09b90e5771809c0 tree | zip | gz
parent fc89ff2680977dbaf1dabb91be01ad2b84903d8a view | diff
fix: keep / at end of URL to avoid redirects

Removed strings.TrimRight "/" in line 10 to keep the trailing slash at the end of URLs in regular links. This avoids having every single internal link being a 301 redirect.
1 files modified
2 ■■■ changed files
layouts/_default/_markup/render-link.html 2 ●●● diff | view | raw | blame | history