diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-05-30 07:24:31 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-05-30 07:24:31 +0000 |
commit | 94a80b14891a735c56cff9e80642adb5f8a4ba72 (patch) | |
tree | dcb9377db739903f9af4a0e99682cfbee42361a3 | |
parent | 4a45368f8a083188290dcb78eebd16960c47a216 (diff) |
web commit by JoshTriplett: Escape code with ``
-rw-r--r-- | doc/todo/Allow_per-page_template_selection.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/todo/Allow_per-page_template_selection.mdwn b/doc/todo/Allow_per-page_template_selection.mdwn index c915982f5..1443ded06 100644 --- a/doc/todo/Allow_per-page_template_selection.mdwn +++ b/doc/todo/Allow_per-page_template_selection.mdwn @@ -11,14 +11,14 @@ Joey provided a nice suggestion for implementing this feature, ("I would probably add a hook that allowed overriding the default template constuction and returning a template object"). I did start looking into that, but finally I wimped out and just put the following hack -into the genpage() function in Render.pm: +into the `genpage()` function in Render.pm: if ($page eq 'index') { $template->param(suppresstitle => 1); } -That lets me use a <TMPL_UNLESS SUPPRESSTITLE> in my template to get +That lets me use a `<TMPL_UNLESS SUPPRESSTITLE>` in my template to get the effect I want. I don't think that's anything that upstream should pick-up as is, (maybe with an appropriate configuration option, but then again allowing for per-page template selection would be more |