]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Allow_per-page_template_selection.mdwn
err..?
[ikiwiki.git] / doc / todo / Allow_per-page_template_selection.mdwn
index c915982f5ab36cab4d1525a7acb1b06d9bcd0ebb..1443ded0651407c1464c9ae534d0b9478ff4d77a 100644 (file)
@@ -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