move plugin toggles to before config setting again
[ikiwiki] / 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         orphans
15         pagecount
16         pagestats
17         shortcut
18         smiley
19         tag
20         template
21         toc
22         toggle
23         otl
24 };
25
26 sub import { #{{{
27         hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
28         IkiWiki::loadplugin($_) foreach @bundle;
29 } # }}}
30
31 sub getsetup { #{{{
32         return 
33                 plugin => {
34                         safe => 1,
35                         rebuild => undef,
36                 },
37 } #}}}
38
39 1