blob: 08ed960b4a3ff8bc7d10419e765a7bd3b4fbc8f0 (
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
|
#!/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
more
orphans
pagecount
pagestats
progress
shortcut
smiley
tag
table
template
toc
toggle
};
sub import { #{{{
hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
IkiWiki::loadplugin($_) foreach @bundle;
} # }}}
sub getsetup { #{{{
return
plugin => {
safe => 1,
rebuild => undef,
},
} #}}}
1
|