-[[!tag patch]]
+[[!tag patch todo]]
-[[!templte id="note" text="""
+[[!template id="note" text="""
Simply copied this from my website
[[http://www.camco.ie/code/ikiwiki,3.20120202,20120313a/]]
feel free to reformat / delete"""]]
everything's changed now.
"""]]
+NB: this *should* be 100% backwards compatible.
+
# `lib/perl5/IkiWiki/Plugin/template.pm`
[[!format perl """
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 ;
data0="cell0:0"
data1="cell0:1"
data0="cell1:0"
- data0="cell1:1"
+ data1="cell1:1"
]]