It would be better to find a way to make the toplevel index page not be a
special case at all.
+Here is a patch:
+
--- IkiWiki/Render.pm (revision 1187)
+++ IkiWiki/Render.pm (working copy)
@@ -71,6 +71,7 @@
> so why not accept either as foo/bar? This would both preserve backwards
> compatibility, as well as allow foo/bar/Discussion.
>
+> Ethan
+>
+> No, in order for this to work, the wiki path foo/bar/baz could be any of:
+>
+> * foo/bar/baz.html
+> * foo/index/bar/index/baz.html
+> * foo/bar/index/baz.html
+> * foo/bar/index/baz/index.html
+>
+> Or many others. Which is probably even hackier than having both foo.html and foo/.
+>
> Ethan
\ No newline at end of file