aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: df928f2226d485aba2a582363e59da44db9d229c (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
#!/usr/bin/perl
# Bundle of good stuff.
package IkiWiki::Plugin::goodstuff;

use warnings;
use strict;
use IkiWiki 2.00;

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

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

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

1