From 78d8c7cceebfa5bd9c47acee3e59f1cb8a396fe6 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 12 Feb 2007 08:51:54 +0000 Subject: web commit by tuomov: Another approach --- doc/patchqueue/index.html_allowed.mdwn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/patchqueue') diff --git a/doc/patchqueue/index.html_allowed.mdwn b/doc/patchqueue/index.html_allowed.mdwn index c518fb2ef..c577d171c 100644 --- a/doc/patchqueue/index.html_allowed.mdwn +++ b/doc/patchqueue/index.html_allowed.mdwn @@ -227,4 +227,8 @@ Also note that an initial "index" is ignored. I.e. a page "A/B/index.html" is treated as "A/B". > This is actually a pretty cool hack. I'll have to think about -> whether I like it better than my way though :) --Ethan \ No newline at end of file +> whether I like it better than my way though :) --Ethan + +--- + +How about doing the index stuff only on the output side? (Or does the latter patch do it? I haven't tried them.) That is, render every `foo.type` for the rendered types (mdwn etc.) as `foo/index.html`, generating links to `foo/` instead of `foo.html`, but not earlier than the point where the .html as presently appended to the page name. Then you just flip a build time option on an existing wiki without any changes to that, and the pages appear elsewhere. The `index.type` files might be left out of this scheme, though (and the top-level one, of course, has to). --[[tuomov]] -- cgit v1.2.3