]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/skeleton.pm
* Switch pagetemplate hooks to using named parameters.
[git.ikiwiki.info.git] / IkiWiki / Plugin / skeleton.pm
index 306f54415c6560f62562f4ac50f91961540e8047..acbc88994048e31e6020f8f11bf8cba98711a000 100644 (file)
@@ -63,9 +63,10 @@ sub sanitize ($) { #{{{
        return $content;
 } # }}}
 
-sub pagetemplate ($$) { #{{{
-       my $page=shift;
-       my $template=shift;
+sub pagetemplate (@) { #{{{
+       my %params=@_;
+       my $page=$params{page};
+       my $template=$params{template};
        
        IkiWiki::debug("skeleton plugin running as a pagetemplate hook");
 } # }}}