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