* Split off an IkiWiki.pm out of ikiwiki and have all the other modules use
[ikiwiki] / 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 methods to make it do something.
4 package IkiWiki::Plugin::skeleton;
5
6 use warnings;
7 use strict;
8 use IkiWiki;
9
10 sub import { #{{{
11         IkiWiki::register_plugin("preprocess", "skeleton", \&preprocess);
12 } # }}}
13
14 sub preprocess (@) { #{{{
15         my %params=@_;
16
17         return "skeleton plugin result";
18 } # }}}
19
20 1