(no commit message)
authorhttps://www.google.com/accounts/o8/id?id=AItOawlqWSY9PNYRysA9vrU-JiQh7-s7q6SOcIE <Fergus@web>
Thu, 15 Mar 2012 23:00:48 +0000 (19:00 -0400)
committeradmin <admin@branchable.com>
Thu, 15 Mar 2012 23:00:48 +0000 (19:00 -0400)
doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn

index 4a9d38587698ac6ac52039b1b8515fc116f7c743..fb8b7095cfe8eaba2e50642a99bea298a7614d15 100644 (file)
@@ -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 ;