]> sipb.mit.edu Git - ikiwiki.git/blob - IkiWiki/Plugin/goodstuff.pm
avoid uninitialized value
[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         more
14         orphans
15         pagecount
16         pagestats
17         progress
18         shortcut
19         smiley
20         tag
21         table
22         template
23         toc
24         toggle
25 };
26
27 sub import {
28         hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
29         foreach my $plugin (@bundle) {
30                 IkiWiki::loadplugin($plugin);
31         }
32 }
33
34 sub getsetup {
35         return 
36                 plugin => {
37                         safe => 1,
38                         rebuild => undef,
39                 },
40 }
41
42 1