web commit by cworth
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 3 Jul 2007 18:42:08 +0000 (18:42 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 3 Jul 2007 18:42:08 +0000 (18:42 +0000)
doc/todo/Allow_per-page_template_selection.mdwn

index 1443ded0651407c1464c9ae534d0b9478ff4d77a..4d3041d2a0f75cf84be8f802b27bd9666fc5bd08 100644 (file)
@@ -27,3 +27,15 @@ pursue implementing this feature further myself.
 
 But I'd still happily switch to using this feature if someone were to
 implement it.
+
+UPDATE: My latest hack is as follows:
+
+       if ($page eq 'index') {
+               $template->param(toplevelindex => 1);
+       }
+
+And that's something that I'm not actually embarrassed to suggest
+could be accepted upstream. Joey, what do you think? And would a
+proper patch be helpful (it really just adds those lines to the right
+place).
+