rename the source?
authorhttp://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web>
Sun, 8 Nov 2009 18:55:58 +0000 (13:55 -0500)
committerJoey Hess <joey@kitenet.net>
Sun, 8 Nov 2009 18:55:58 +0000 (13:55 -0500)
doc/forum/transition_from_handwritten_html_to_ikiwiki.mdwn

index 96be862d79aa95e607fba8366432a39e1378af79..3084f764cbc0bb979fb44dec010441c66da98f01 100644 (file)
@@ -78,3 +78,7 @@ I'm getting closer. Now with usedirs => 1 and raw html pages, ikiwiki transforms
 Can ikiwiki be instructed map foo/index.html to page foo instead that foo/index?
 
 -Mikko
+
+> If you don't already have a foo.html in your source, why not just rename foo/index.html to foo.html? With usedirs, it will then map to foo/index.html. Before, you had 'foo/' and 'foo/index.html' as working URLS, and they will work after too. 
+> 
+> If you did have a foo.html and a foo/index.html, hmm, that's a tricky one. -- [[Jon]]