* Added plugin system, currently only supporting for PreProcessorDirectives.
[ikiwiki.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 methods to make it do something.
4 package IkiWiki::Plugin::skeleton;
5
6 use warnings;
7 use strict;
8
9 sub import { #{{{
10         IkiWiki::register_plugin("preprocess", "skeleton", \&preprocess);
11 } # }}}
12
13 sub preprocess (@) { #{{{
14         my %params=@_;
15
16         return "skeleton plugin result";
17 } # }}}
18
19 1