aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: 46f2380cfa4ca98f071a45219c6fa9514d8f664c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/perl
# Bundle of good stuff.
package IkiWiki::Plugin::goodstuff;

use warnings;
use strict;
use IkiWiki 3.00;

my @bundle=qw{
	brokenlinks
	img
	map
	more
	orphans
	pagecount
	pagestats
	progress
	shortcut
	smiley
	tag
	table
	template
	toc
	toggle
};

sub import {
	hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
	foreach my $plugin (@bundle) {
		IkiWiki::loadplugin($plugin);
	}
}

sub getsetup {
	return 
		plugin => {
			safe => 1,
			rebuild => undef,
		},
}

1