Commit 7cb2429
authored
footer: remove trailing slashes to prevent 404s (#31)
I found an edge case: on GitHub Pages, with `uglyURLs` enabled,
extensionless paths with trailing slashes return `404`.
Footer links currently include trailing slashes, so they are 404ing.
This change removes trailing slashes from footer links so they resolve
correctly.
Path behavior:
/architecture.html = ✅
/architecture = ✅
/architecture/ = ❌File tree
1 file changed
+2
-2
lines changed- layouts/partials
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments