]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by tuomov: Another approach
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 12 Feb 2007 08:51:54 +0000 (08:51 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 12 Feb 2007 08:51:54 +0000 (08:51 +0000)
doc/patchqueue/index.html_allowed.mdwn

index c518fb2ef241bdcca12d65af6eda85212f3a1ffa..c577d171c444b03cb57a5179dfa7e23bd069935b 100644 (file)
@@ -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]]