X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a69cb46c52c003dacd47a8372d477a57ba833db8..2ad3425120949c5b5cf0cc0fc56c04cf594c7d0a:/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn diff --git a/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn b/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn index 4a9d38587..1aafb173b 100644 --- a/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn +++ b/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn @@ -1,4 +1,4 @@ -[[!tag patch]] +[[!tag patch todo]] [[!template id="note" text=""" Simply copied this from my website @@ -192,7 +192,7 @@ NB: this *should* be 100% backwards compatible. my $page = $params{page}->[$#{$params{page}}] ; my $destpage = $params{destpage}->[$#{$params{destpage}}] ; # ... and an essential one for the production pass - $params{basename} = IkiWiki::basename($page) ; + $params{basename} = [ IkiWiki::basename($page) ] ; # load the template my $template ;