call => \&htmlize);
IkiWiki::hook(type => "sanitize", id => "skeleton",
call => \&sanitize);
+ IkiWiki::hook(type => "format", id => "skeleton",
+ call => \&format);
IkiWiki::hook(type => "pagetemplate", id => "skeleton",
call => \&pagetemplate);
IkiWiki::hook(type => "delete", id => "skeleton",
call => \&change);
IkiWiki::hook(type => "cgi", id => "skeleton",
call => \&cgi);
+ IkiWiki::hook(type => "savestate", id => "savestate",
+ call => \&savestate);
} # }}}
sub getopt () { #{{{
return $content;
} # }}}
+sub format ($) { #{{{
+ my $content=shift;
+
+ IkiWiki::debug("skeleton plugin running as a formatter");
+
+ return $content;
+} # }}}
+
sub pagetemplate (@) { #{{{
my %params=@_;
my $page=$params{page};
IkiWiki::debug("skeleton plugin running in cgi");
} #}}}
+sub savestate () { #{{{
+ IkiWiki::debug("skeleton plugin running in savestate");
+} #}}}
+
1