X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/44a08155ee34e4abc4a3220ebf6e64e2793b709b..b851020978ce04ef22b2d985967be1948ca794b3:/doc/todo/toplevel_index.mdwn?ds=sidebyside diff --git a/doc/todo/toplevel_index.mdwn b/doc/todo/toplevel_index.mdwn index ae3243480..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 @@ @@ -43,4 +45,21 @@ Some inconsistences around the toplevel [[index]] page: > 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. \ No newline at end of file +> 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