Commit f9988a4
Fix permalink to redirect instead of duplicating content (#23)
/PermaLink/<module> rendered the module detail page in place, giving
the same content two URLs, and threw an unhandled IndexError for a
missing/empty module name. It now redirects to /module/<name>/, or to
the module list when the module doesn't exist, matching the older
MIHO implementation's fallback.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 838634c commit f9988a4
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
0 commit comments