X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/af05e7badc4e6524500c81489a5298c04e6dd502..ab0fa67cc74a7cf6387124f2442a8dce133ca23d:/doc/todo/toplevel_index.mdwn diff --git a/doc/todo/toplevel_index.mdwn b/doc/todo/toplevel_index.mdwn index d766db2b4..f749ad655 100644 --- a/doc/todo/toplevel_index.mdwn +++ b/doc/todo/toplevel_index.mdwn @@ -8,6 +8,8 @@ Some inconsistences around the toplevel [[index]] page: 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 @@ @@ -40,4 +42,24 @@ Some inconsistences around the toplevel [[index]] page: > It always bothers me that foo/bar/ files need a foo/bar.html in front of them, > rather than a foo/bar/index.html, as is (to my mind) traditional. > +> Ethan +> +> Hmm, now I've had time to think about this, and this does conflict pretty hard with foo.html/Discussion +> pages. Well, back to the drawing board. +> +> Well, it seems unlikely that you'll have both foo/bar.html and foo/bar/index.html, +> 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