]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn
updated, compatible with the merged trail
[git.ikiwiki.info.git] / doc / todo / allow_TMPL__95__LOOP_in_template_directives.mdwn
index 832397b0ebe5beb5c7c214dde7499a35a9a14d3b..1aafb173b967e72023f94386a1df88d20285df73 100644 (file)
@@ -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 ;
@@ -256,5 +256,5 @@ NB: this *should* be 100% backwards compatible.
        data0="cell0:0"
        data1="cell0:1"
        data0="cell1:0"
-       data0="cell1:1"
+       data1="cell1:1"
        ]]