blob: 451cd6f84fce568167c1d8ef045baba3513dcb80 (
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
43
|
#!/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
repolist
};
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
|