]> sipb.mit.edu Git - ikiwiki.git/blob - IkiWiki/Plugin/skeleton.pm
* Add an orphans plugin for finding pages that nothing links to.
[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