From: joey Date: Tue, 3 Jul 2007 18:42:08 +0000 (+0000) Subject: web commit by cworth X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/879f3a7bf35299ad7054627f36579053e9540b3b web commit by cworth --- diff --git a/doc/todo/Allow_per-page_template_selection.mdwn b/doc/todo/Allow_per-page_template_selection.mdwn index 1443ded06..4d3041d2a 100644 --- a/doc/todo/Allow_per-page_template_selection.mdwn +++ b/doc/todo/Allow_per-page_template_selection.mdwn @@ -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). +