aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm
blob: e8d3db0cc6fc7f17cf5ac1b671697d67fde0667b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl
# Ikiwiki skeleton plugin. Replace "skeleton" with the name of your plugin
# in the lines below, and flesh out the methods to make it do something.
package IkiWiki::Plugin::skeleton;

use warnings;
use strict;

sub import { #{{{
	IkiWiki::register_plugin("preprocess", "skeleton", \&preprocess);
} # }}}

sub preprocess (@) { #{{{
	my %params=@_;

	return "skeleton plugin result";
} # }}}

1