]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - IkiWiki/Plugin/skeleton.pm
change plugin interface to use named parameters for flexability
[git.ikiwiki.info.git] / IkiWiki / Plugin / skeleton.pm
1 #!/usr/bin/perl
2 # Ikiwiki skeleton plugin. Replace "skeleton" with the name of your plugin
3 # in the lines below, and flesh out the code to make it do something.
4 package IkiWiki::Plugin::skeleton;
6 use warnings;
7 use strict;
8 use IkiWiki;
10 sub import { #{{{
11         IkiWiki::hook(type => "preprocess", id => "skeleton", 
12                 call => \&preprocess);
13 } # }}}
15 sub preprocess (@) { #{{{
16         my %params=@_;
18         return "skeleton plugin result";
19 } # }}}
21 1