aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/goodstuff.pm
blob: a18e626d4c94b037d8a05c3c971ab9600f0f6e95 (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 2.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