remove: Avoid $_ breakage. (Stupid, stupid perl.)
[ikiwiki.git] / IkiWiki / Plugin / goodstuff.pm
1 #!/usr/bin/perl
2 # Bundle of good stuff.
3 package IkiWiki::Plugin::goodstuff;
4
5 use warnings;
6 use strict;
7 use IkiWiki 2.00;
8
9 my @bundle=qw{
10         brokenlinks
11         img
12         map
13         meta
14         more
15         orphans
16         pagecount
17         pagestats
18         progress
19         shortcut
20         smiley
21         tag
22         table
23         template
24         toc
25         toggle
26 };
27
28 sub import { #{{{
29         hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
30         IkiWiki::loadplugin($_) foreach @bundle;
31 } # }}}
32
33 sub getsetup { #{{{
34         return 
35                 plugin => {
36                         safe => 1,
37                         rebuild => undef,
38                 },
39 } #}}}
40
41 1