diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-03 18:42:08 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-03 18:42:08 +0000 |
commit | 879f3a7bf35299ad7054627f36579053e9540b3b (patch) | |
tree | 3c5d2832f8726aa68f47f7a9242b704a0007f70d /doc/todo/Allow_per-page_template_selection.mdwn | |
parent | 7851a63fd872bd94cf2c16c9b26305c3fb3fb2e5 (diff) | |
download | ikiwiki-879f3a7bf35299ad7054627f36579053e9540b3b.tar ikiwiki-879f3a7bf35299ad7054627f36579053e9540b3b.tar.gz |
web commit by cworth
Diffstat (limited to 'doc/todo/Allow_per-page_template_selection.mdwn')
-rw-r--r-- | doc/todo/Allow_per-page_template_selection.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
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). + |